From dce4b32e2feb1aa6bba9bddcf1dde4847b7134f5 Mon Sep 17 00:00:00 2001 From: Ed Grosvenor Date: Tue, 8 Feb 2022 15:32:53 -0600 Subject: [PATCH] Fix touch signature --- src/ReadOnlyTrait.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ReadOnlyTrait.php b/src/ReadOnlyTrait.php index f88fb63..52533b8 100644 --- a/src/ReadOnlyTrait.php +++ b/src/ReadOnlyTrait.php @@ -158,9 +158,10 @@ trait ReadOnlyTrait /** * Throws ReadOnlyException on touch + * @param string|null $attribute * @throws ReadOnlyException */ - public function touch() + public function touch($attribute = null) { throw new ReadOnlyException(__FUNCTION__, get_called_class()); }