mirror of
https://github.com/getgrav/grav.git
synced 2025-02-20 19:56:53 +01:00
Add protected method FormTrait::unsetFlash()
This commit is contained in:
parent
ad7fdd5c2b
commit
5f5bfdaa42
|
|
@ -290,6 +290,11 @@ trait FormTrait
|
|||
return $this->flash;
|
||||
}
|
||||
|
||||
protected function unsetFlash(): void
|
||||
{
|
||||
$this->flash = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set all errors.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user