This commit is contained in:
2021-04-14 17:36:03 +08:00
parent bcda2ff2a0
commit 215a75b8bd
-3
View File
@@ -355,9 +355,6 @@ class Loader extends BaseObject
} }
foreach ($annotations['methods'] as $name => $attribute) { foreach ($annotations['methods'] as $name => $attribute) {
foreach ($attribute as $value) { foreach ($attribute as $value) {
if (!($value instanceof \Annotation\Attribute)) {
continue;
}
$value->execute([$annotations['handler'], $name]); $value->execute([$annotations['handler'], $name]);
} }
} }