Fix CS
This commit is contained in:
parent
a32fde9b9c
commit
f1f37a899c
@ -38,7 +38,7 @@ final class ArgumentMetadataFactory implements ArgumentMetadataFactoryInterface
|
||||
|
||||
foreach ($reflection->getParameters() as $param) {
|
||||
$attribute = null;
|
||||
if (method_exists($param, 'getAttributes')) {
|
||||
if (\PHP_VERSION_ID >= 80000) {
|
||||
$reflectionAttributes = $param->getAttributes(ArgumentInterface::class, \ReflectionAttribute::IS_INSTANCEOF);
|
||||
|
||||
if (\count($reflectionAttributes) > 1) {
|
||||
|
Reference in New Issue
Block a user