]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/NotifyException.php
Fix French translations
[bookstack] / app / Exceptions / NotifyException.php
index c9ff9975dca1e5dc9919313922234869a01df44e..4f810596099cf2132093677b571ce40bf44a5aa8 100644 (file)
@@ -1,5 +1,4 @@
-<?php namespace Oxbow\Exceptions;
-
+<?php namespace BookStack\Exceptions;
 
 class NotifyException extends \Exception
 {
@@ -9,13 +8,11 @@ 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;
         parent::__construct();
     }
-}
\ No newline at end of file
+}