This commit is contained in:
2021-08-23 19:11:31 +08:00
parent ebb23807cf
commit 18c6b9cf8d
+1 -1
View File
@@ -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;
}