mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-12-26 23:57:21 -08: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