Skip to content

Commit 626d3d6

Browse files
committed
Fixing another cat to string of ReflectionType
1 parent 3b58f7a commit 626d3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InputTypeUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private function validateReturnType(ReflectionMethod $refMethod): Fqsen
5555
throw MissingTypeHintException::nullableReturnType($refMethod);
5656
}
5757

58-
$type = (string) $returnType;
58+
$type = $returnType->getName();
5959

6060
$typeResolver = new \phpDocumentor\Reflection\TypeResolver();
6161

0 commit comments

Comments
 (0)