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 3b58f7a commit 626d3d6Copy full SHA for 626d3d6
src/InputTypeUtils.php
@@ -55,7 +55,7 @@ private function validateReturnType(ReflectionMethod $refMethod): Fqsen
55
throw MissingTypeHintException::nullableReturnType($refMethod);
56
}
57
58
- $type = (string) $returnType;
+ $type = $returnType->getName();
59
60
$typeResolver = new \phpDocumentor\Reflection\TypeResolver();
61
0 commit comments