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