Skip to content

Commit

Permalink
remove replace
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jul 23, 2023
1 parent 519a55c commit f17402e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ public function mapToPHPStanPhpDocTypeNode(Type $type): TypeNode
return null;
}

$astNode = new FullyQualifiedIdentifierTypeNode('Closure');
return $astNode;
return new FullyQualifiedIdentifierTypeNode('Closure');
});

return $typeNode;
Expand Down

0 comments on commit f17402e

Please sign in to comment.