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