]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/NotifyException.php
Updated styles to use logical properties/values
[bookstack] / app / Exceptions / NotifyException.php
index df96b5d12d204c660fc06b36bbe7cd2bf7baaeaf..78ffde05c07e28655ad2cb25ca5a4f04553d2dfc 100644 (file)
@@ -11,7 +11,7 @@ class NotifyException extends \Exception
      * @param string $message
      * @param string    $redirectLocation
      */
-    public function __construct($message, $redirectLocation)
+    public function __construct(string $message, string $redirectLocation = "/")
     {
         $this->message = $message;
         $this->redirectLocation = $redirectLocation;