From 002b3a59ece8f92662b8cba00318de94aeb99fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sat, 18 Sep 2021 10:40: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 --- note/Route/Route.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/note/Route/Route.php b/note/Route/Route.php index fe3c5b6f..7dd3ba05 100644 --- a/note/Route/Route.php +++ b/note/Route/Route.php @@ -28,10 +28,10 @@ use Http\Route\Router; /** * @param mixed $class * @param mixed|null $method - * @return Router + * @return bool * @throws \ReflectionException */ - public function execute(mixed $class, mixed $method = null): Router + public function execute(mixed $class, mixed $method = null): bool { HandlerManager::add($this->uri, $this->method, new Handler($this->uri, [$class, $method])); return parent::execute($class, $method);