This commit is contained in:
2021-03-23 17:56:28 +08:00
parent 48472ccec1
commit 78d19c2694
2 changed files with 17 additions and 10 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ class Loader extends BaseObject
}
$property = $attribute->newInstance();
if ($property instanceof Inject) {
$property->execute([$_array['handler'], $method->getName()]);
$property->execute([$_array['handler'], $method]);
} else {
$_property[] = $attribute->newInstance();
}