Fix touch signature

This commit is contained in:
Ed Grosvenor 2022-02-08 15:32:53 -06:00 committed by GitHub
parent fe372eb8d0
commit dce4b32e2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,9 +158,10 @@ trait ReadOnlyTrait
/** /**
* Throws ReadOnlyException on touch * Throws ReadOnlyException on touch
* @param string|null $attribute
* @throws ReadOnlyException * @throws ReadOnlyException
*/ */
public function touch() public function touch($attribute = null)
{ {
throw new ReadOnlyException(__FUNCTION__, get_called_class()); throw new ReadOnlyException(__FUNCTION__, get_called_class());
} }