From c75c85a3cf6706e088273ac8e63e7d73947fedc7 Mon Sep 17 00:00:00 2001 From: Jagepard Date: Wed, 21 May 2025 10:11:23 +0300 Subject: [PATCH] hardcode ThroughException, ThroughReflection --- src/Router.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Router.php b/src/Router.php index 008840c..c200f69 100755 --- a/src/Router.php +++ b/src/Router.php @@ -175,7 +175,8 @@ public function directCall(array $route, $params = null): void $this->handleMiddleware($route['middleware']['before']); } - $this->callActionThroughReflection($params, $action, $controller); + $this->callActionThroughException($params, $action, $controller); + // $this->callActionThroughReflection($params, $action, $controller); if (isset($route['middleware']['after'])) { $this->handleMiddleware($route['middleware']['after']);