From f686f101ba5182c2f78983ba8e3cc102ea018563 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Dec 2020 18:45:26 +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/Reduce.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HttpServer/Route/Reduce.php b/HttpServer/Route/Reduce.php index c3880116..0c7c7de0 100644 --- a/HttpServer/Route/Reduce.php +++ b/HttpServer/Route/Reduce.php @@ -51,8 +51,7 @@ class Reduce if ($pipe instanceof Middleware) { return $pipe->onHandler($passable, $stack); } else { - var_dump($pipe); - return call_user_func($pipe, $passable, $stack); + return call_user_func($pipe[0], $passable, $stack); } }; };