]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/NotifyException.php
Updated styles to use logical properties/values
[bookstack] / app / Exceptions / NotifyException.php
index 113100b6be1002d28e041421454c9521c4223359..78ffde05c07e28655ad2cb25ca5a4f04553d2dfc 100644 (file)
@@ -1,6 +1,5 @@
 <?php namespace BookStack\Exceptions;
 
-
 class NotifyException extends \Exception
 {
 
@@ -12,10 +11,10 @@ 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;
         parent::__construct();
     }
-}
\ No newline at end of file
+}