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