改名
This commit is contained in:
@@ -123,8 +123,8 @@ class Annotation extends Component
|
|||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
$constructor = $reflect->getConstructor()->getParameters();
|
$constructor = $reflect->getConstructor();
|
||||||
if (count($constructor) > 0) {
|
if (!empty($constructor) && count($constructor->getParameters()) > 0) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user