改名
This commit is contained in:
+6
-4
@@ -84,12 +84,14 @@ if (!function_exists('recursive_directory')) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var Attribute $attribute */
|
/** @var Attribute $value */
|
||||||
foreach ($annotations['methods'] as $name => $attribute) {
|
foreach ($annotations['methods'] as $name => $attribute) {
|
||||||
if (!($attribute instanceof Attribute)) {
|
foreach ($attribute as $value) {
|
||||||
continue;
|
if (!($value instanceof Attribute)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
$value->execute([$annotations['handler'], $name]);
|
||||||
}
|
}
|
||||||
$attribute->execute([$annotations['handler'], $name]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user