From 6374584ce206c97cdc5f06b302368942fa4253f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 20 Apr 2021 12:02:05 +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 29510871..435c462f 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -533,7 +533,6 @@ class Node extends HttpService if (empty($dispatchParams)) { $dispatchParams = [\request()]; } - var_dump($dispatchParams); if ($this->handler instanceof Closure) { return call_user_func($this->handler, ...$dispatchParams); } @@ -575,6 +574,7 @@ class Node extends HttpService private function runWith(): mixed { if (func_num_args() > 0) { + var_dump(...func_get_args()); return call_user_func($this->callback, ...func_get_args()); } else { return call_user_func($this->callback, \request());