8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7f6e36 commit d584cf9Copy full SHA for d584cf9
ControllerMetadata/ArgumentMetadataFactory.php
@@ -38,7 +38,7 @@ public function createArgumentMetadata($controller): array
38
39
foreach ($reflection->getParameters() as $param) {
40
$attribute = null;
41
- if (method_exists($param, 'getAttributes')) {
+ if (\PHP_VERSION_ID >= 80000) {
42
$reflectionAttributes = $param->getAttributes(ArgumentInterface::class, \ReflectionAttribute::IS_INSTANCEOF);
43
44
if (\count($reflectionAttributes) > 1) {
0 commit comments