Fix getting the name of closures on PHP 8.1.11+

This commit is contained in:
Nicolas Grekas
2022-12-12 16:54:21 +01:00
parent 539cf1428b
commit 8efe591e8d

View File

@@ -753,6 +753,7 @@ class TentativeTypes
'isVariadic' => 'bool',
'isStatic' => 'bool',
'getClosureThis' => '?object',
'getClosureCalledClass' => '?ReflectionClass',
'getClosureScopeClass' => '?ReflectionClass',
'getDocComment' => 'string|false',
'getEndLine' => 'int|false',