diff --git a/http-helper/Route/Node.php b/http-helper/Route/Node.php index 81c69098..79212708 100644 --- a/http-helper/Route/Node.php +++ b/http-helper/Route/Node.php @@ -235,7 +235,7 @@ class Node [$controller, $action] = $handler; /** @var Aspect $aspect */ - $aspect = Kiri::getDi()->getMethodByAnnotation(Aspect::class, $controller, $action); + $aspect = Kiri::getDi()->getMethodByAnnotation(Aspect::class, $controller::class, $action); if (empty($aspect)) { return null; }