We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
MethodDefinitionCollector::getOrParse()
1 parent 3a1f556 commit 0cf9836Copy full SHA for 0cf9836
src/MethodDefinitionCollector.php
@@ -55,7 +55,7 @@ public static function getOrParse(string $class, string $method): array
55
$definitions[] = [
56
'type' => 'object',
57
'name' => $parameter->getName(),
58
- 'ref' => $parameter->getClass()->getName() ?? null,
+ 'ref' => $type ?? null,
59
'allowsNull' => $parameter->allowsNull(),
60
];
61
break;
0 commit comments