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 @@ public function performUpdate(Builder $query, array $options = []) /** * 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()); }