From df35abb48e45965074660c6d5d5ddf3335735721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Dec 2020 15:54:29 +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 --- Annotation/Route/Route.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Annotation/Route/Route.php b/Annotation/Route/Route.php index 48bffebb..2993ef79 100644 --- a/Annotation/Route/Route.php +++ b/Annotation/Route/Route.php @@ -40,13 +40,12 @@ use Annotation\IAnnotation; /** * @param array|Closure $handler - * @param array $attributes * @return ?Node * @throws ComponentException * @throws ConfigException * @throws Exception */ - public function setHandler(array|Closure $handler, array $attributes): ?Node + public function setHandler(array|Closure $handler): ?Node { $router = Snowflake::app()->getRouter(); // TODO: Implement setHandler() method.