From 18c6b9cf8df6f699cbea3ff885e33b5dfe32e2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 23 Aug 2021 19:11:31 +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 --- http-helper/Route/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }