mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-10-31 21:33:23 -07:00
Fix touch signature
This commit is contained in:
parent
fe372eb8d0
commit
dce4b32e2f
1 changed files with 2 additions and 1 deletions
|
@ -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());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue