diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 92191709..3145afcb 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -438,7 +438,6 @@ class Node extends Application if (empty($this->callback)) { return JSON::to(404, $node->_error ?? 'Page not found.'); } - var_dump($this->callback); $requestParams = func_get_args(); if (func_num_args() > 0) { return call_user_func($this->callback, ...$requestParams); diff --git a/HttpServer/Route/Reduce.php b/HttpServer/Route/Reduce.php index 8b373bdf..c3880116 100644 --- a/HttpServer/Route/Reduce.php +++ b/HttpServer/Route/Reduce.php @@ -51,6 +51,7 @@ class Reduce if ($pipe instanceof Middleware) { return $pipe->onHandler($passable, $stack); } else { + var_dump($pipe); return call_user_func($pipe, $passable, $stack); } };