Skip to content

Commit

Permalink
Fix getting the name of closures on PHP 8.1.11+
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Dec 12, 2022
1 parent 539cf14 commit 8efe591
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Internal/TentativeTypes.php
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ class TentativeTypes
'isVariadic' => 'bool',
'isStatic' => 'bool',
'getClosureThis' => '?object',
'getClosureCalledClass' => '?ReflectionClass',
'getClosureScopeClass' => '?ReflectionClass',
'getDocComment' => 'string|false',
'getEndLine' => 'int|false',
Expand Down

0 comments on commit 8efe591

Please sign in to comment.