Skip to content

Commit 8efe591

Browse files
Fix getting the name of closures on PHP 8.1.11+
1 parent 539cf14 commit 8efe591

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Internal/TentativeTypes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -753,6 +753,7 @@ class TentativeTypes
753753
'isVariadic' => 'bool',
754754
'isStatic' => 'bool',
755755
'getClosureThis' => '?object',
756+
'getClosureCalledClass' => '?ReflectionClass',
756757
'getClosureScopeClass' => '?ReflectionClass',
757758
'getDocComment' => 'string|false',
758759
'getEndLine' => 'int|false',

0 commit comments

Comments
 (0)