From f0b44d28a96e0790236fdb49ef63bc81bf3f0f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 27 Jul 2021 14:20:38 +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/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index a7e71708..1114d50e 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -148,7 +148,7 @@ class Node extends HttpService */ private function normalHandler($application): Closure { - return static function ($application) use ($application) { + return static function () use ($application) { $dispatchParam = Context::getContext('dispatch-param', [\request()]); if (is_array($application->handler)) { Snowflake::injectProperty($application->handler[0]);