-<?php namespace Oxbow\Exceptions;
-
+<?php namespace BookStack\Exceptions;
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
+}