Skip to content

Commit

Permalink
partially fixed static return type hint while a proper fix is impleme…
Browse files Browse the repository at this point in the history
…nted (phpspec#527)
  • Loading branch information
mmadariaga committed Apr 9, 2021
1 parent c7d2337 commit 2d17db5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Prophecy/Doubler/Generator/Node/TypeNodeAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ protected function getRealType(string $type): string

// built in types
case 'self':
case 'static':
case 'array':
case 'callable':
case 'bool':
Expand Down

0 comments on commit 2d17db5

Please sign in to comment.