From fda57cd6cc4ec5c4332e58377bec23adbc39e068 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 13 Aug 2021 15:19:35 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Route/Route.php b/Annotation/Route/Route.php index f4c6ef24..6a1f4c1b 100644 --- a/Annotation/Route/Route.php +++ b/Annotation/Route/Route.php @@ -37,7 +37,7 @@ use Kiri\Kiri; { // TODO: Implement setHandler() method. $router = Kiri::app()->getRouter(); - $router->addRoute($this->uri, [di($class::class), $method], $this->method); + $router->addRoute($this->uri, [di($class), $method], $this->method); return $router; }