diff --git a/src/Libs/Router.php b/src/Libs/Router.php index 428ed6d..b56952d 100644 --- a/src/Libs/Router.php +++ b/src/Libs/Router.php @@ -50,7 +50,7 @@ class Router * * @var callable $notFoundCallback */ - public static $notFoundCallback = Router::defaultNotFound(...); + public static $notFoundCallback = 'Libs\Router::defaultNotFound'; /** * Default callback function for when @@ -72,7 +72,7 @@ class Router * * @var callable $exceptionCallback */ - public static $exceptionCallback = Router::defaultException(...); + public static $exceptionCallback = 'Libs\Router::defaultException'; /** * Default callback function for exception responses.