Skip to content

Commit

Permalink
remove type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
aszenz committed May 21, 2022
1 parent a550db8 commit 65cbf11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mappers/Parameters/TypeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ private function reflectionTypeToPhpDocType(ReflectionType $type, ReflectionClas
}
return new Compound(
array_map(
function (ReflectionNamedType $namedType) use ($reflectionClass): Type {
function ($namedType) use ($reflectionClass): Type {
$phpdocType = $this->phpDocumentorTypeResolver->resolve($namedType->getName());
Assert::notNull($phpdocType);

Expand Down

0 comments on commit 65cbf11

Please sign in to comment.