From 7febaf309ca903995f5f9f161bdaa8655e7427f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 16 Dec 2020 15:45:36 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Route/Reduce.php b/HttpServer/Route/Reduce.php index c3880116..29e693a0 100644 --- a/HttpServer/Route/Reduce.php +++ b/HttpServer/Route/Reduce.php @@ -48,10 +48,10 @@ class Reduce { return function ($stack, $pipe) { return function ($passable) use ($stack, $pipe) { + var_dump($pipe); if ($pipe instanceof Middleware) { return $pipe->onHandler($passable, $stack); } else { - var_dump($pipe); return call_user_func($pipe, $passable, $stack); } };