From 3eeca0315a1c2a1f65e672db323998f10af27e83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 6 Sep 2021 11:50:57 +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 --- http-helper/Route/Pipeline.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/http-helper/Route/Pipeline.php b/http-helper/Route/Pipeline.php index 0af7e68c..46f522af 100644 --- a/http-helper/Route/Pipeline.php +++ b/http-helper/Route/Pipeline.php @@ -105,10 +105,10 @@ class Pipeline /** * @param $destination * @param $parameters - * @return Closure + * @return Closure|array * @throws ReflectionException */ - private function aspect_caller($destination, $parameters): Closure + private function aspect_caller($destination, $parameters): Closure|array { [$controller, $action] = $destination; /** @var Aspect $aop */ @@ -121,8 +121,6 @@ class Pipeline $aop->after($data = $aop->invoke($destination, $parameters)); return $data; }; - - var_dump($destination); } return $destination; }