]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/NotifyException.php
Update Dutch password_hint translation to correspond with validation rule
[bookstack] / app / Exceptions / NotifyException.php
index c9ff9975dca1e5dc9919313922234869a01df44e..78ffde05c07e28655ad2cb25ca5a4f04553d2dfc 100644 (file)
@@ -1,5 +1,4 @@
-<?php namespace Oxbow\Exceptions;
-
+<?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
+}