]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/NotifyException.php
Add base64 image support
[bookstack] / app / Exceptions / NotifyException.php
index df96b5d12d204c660fc06b36bbe7cd2bf7baaeaf..4f810596099cf2132093677b571ce40bf44a5aa8 100644 (file)
@@ -8,10 +8,8 @@ class NotifyException extends \Exception
 
     /**
      * NotifyException constructor.
-     * @param string $message
-     * @param string    $redirectLocation
      */
-    public function __construct($message, $redirectLocation)
+    public function __construct(string $message, string $redirectLocation = "/")
     {
         $this->message = $message;
         $this->redirectLocation = $redirectLocation;