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; }