From 4d1eb830195d517f3c4a4cdc1b17bb62cb3c49d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 30 Aug 2021 18:53: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 --- note/Route/Middleware.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/note/Route/Middleware.php b/note/Route/Middleware.php index ac7b095c..c67bb573 100644 --- a/note/Route/Middleware.php +++ b/note/Route/Middleware.php @@ -39,13 +39,11 @@ use Http\IInterface\MiddlewareInterface; } - /** - * @param static $params - * @param mixed $class - * @param mixed|null $method - * @return $this - * @throws ReflectionException - */ + /** + * @param mixed $class + * @param mixed|null $method + * @return $this + */ public function execute(mixed $class, mixed $method = null): mixed { MiddlewareManager::addMiddlewares($class, $method, $this->middleware);