From 91de982def0c3f63ffb6c29f527822a890f661b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 19 Apr 2021 17:29:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Route/Dispatch/Dispatch.php | 1 + 1 file changed, 1 insertion(+) 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); }