Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b900446

Browse files
bug #48615 Fix getting the name of closures on PHP 8.1.11+ (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- Fix getting the name of closures on PHP 8.1.11+ | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Leverages php/php-src#9299 Commits ------- bccd23d4df Fix getting the name of closures on PHP 8.1.11+
2 parents 7305720 + 8efe591 commit b900446

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)