From 8ed352347cced7267c9726aabd3d4a153686ba64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 16 Dec 2020 15:45:10 +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 | 1 - HttpServer/Route/Reduce.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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); } };