diff --git a/HttpServer/Route/Dispatch/Dispatch.php b/HttpServer/Route/Dispatch/Dispatch.php index 2926d0bb..6877cb29 100644 --- a/HttpServer/Route/Dispatch/Dispatch.php +++ b/HttpServer/Route/Dispatch/Dispatch.php @@ -52,6 +52,7 @@ class Dispatch */ public function dispatch(): mixed { + return call_user_func($this->handler, ...$this->request); return \aop($this->handler, ...$this->request); }