diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Controller/Session/Flash.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Controller/Session/Flash.php b/src/Controller/Session/Flash.php index 5aa677d..7b158e8 100644 --- a/src/Controller/Session/Flash.php +++ b/src/Controller/Session/Flash.php @@ -52,10 +52,6 @@ class Flash */ public function set($type, $message) { - if (!$type) { - throw new \InvalidArgumentException("Type should not be empty"); - } - $this->session[$this->key] = compact('type', 'message'); } |