From e48c76e95da29c1ebd0d7bfc3f8a5d9c1d92c8e1 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Wed, 21 Apr 2021 01:48:37 +0800 Subject: [PATCH] modify --- HttpServer/Route/Dispatch/Dispatch.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/HttpServer/Route/Dispatch/Dispatch.php b/HttpServer/Route/Dispatch/Dispatch.php index f46b868f..ad9f34d4 100644 --- a/HttpServer/Route/Dispatch/Dispatch.php +++ b/HttpServer/Route/Dispatch/Dispatch.php @@ -51,8 +51,6 @@ class Dispatch */ public function dispatch(): mixed { -// return call_user_func($this->handler, $this->request); - $dispatchParam = Context::getContext('dispatch-param'); if (empty($dispatchParam)) { $dispatchParam = [\request()];