X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/62342433f41f2eaef19c5e85f5ce960297ee8206..refs/pull/2023/head:/app/Exceptions/NotifyException.php diff --git a/app/Exceptions/NotifyException.php b/app/Exceptions/NotifyException.php index df96b5d12..78ffde05c 100644 --- a/app/Exceptions/NotifyException.php +++ b/app/Exceptions/NotifyException.php @@ -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;