diff --git a/src/router/BaseRouter.php b/src/router/BaseRouter.php index fd08c33..6a66b85 100644 --- a/src/router/BaseRouter.php +++ b/src/router/BaseRouter.php @@ -45,9 +45,9 @@ final public function routeMethodAndPath( } } if (0 !== C\count($allowed)) { - throw new MethodNotAllowedException($allowed); + throw new MethodNotAllowedException($allowed); } - + throw $e; } }