modify
This commit is contained in:
@@ -124,6 +124,9 @@ class Annotation extends Component
|
||||
if (empty($reflect)) {
|
||||
return [];
|
||||
}
|
||||
if (!$reflect->isInstantiable()) {
|
||||
return [];
|
||||
}
|
||||
|
||||
$construct = $reflect->getConstructor();
|
||||
if (!empty($construct) && count($params = $construct->getParameters()) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user