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]);