Skip to content

Commit dae9335

Browse files
committed
ReflectionFunction and ReflectionMethod::getClosure cannot return null
1 parent 3e895a5 commit dae9335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/functionMap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10008,7 +10008,7 @@
1000810008
'ReflectionFunction::__construct' => ['void', 'name'=>'string|Closure'],
1000910009
'ReflectionFunction::__toString' => ['string'],
1001010010
'ReflectionFunction::export' => ['string|null', 'name'=>'string', 'return='=>'bool'],
10011-
'ReflectionFunction::getClosure' => ['?Closure'],
10011+
'ReflectionFunction::getClosure' => ['Closure'],
1001210012
'ReflectionFunction::getClosureScopeClass' => ['ReflectionClass'],
1001310013
'ReflectionFunction::getClosureThis' => ['bool'],
1001410014
'ReflectionFunction::getDocComment' => ['string|false'],
@@ -10074,7 +10074,7 @@
1007410074
'ReflectionMethod::__construct\'1' => ['void', 'class_method'=>'string'],
1007510075
'ReflectionMethod::__toString' => ['string'],
1007610076
'ReflectionMethod::export' => ['string|null', 'class'=>'string', 'name'=>'string', 'return='=>'bool'],
10077-
'ReflectionMethod::getClosure' => ['?Closure', 'object'=>'?object'],
10077+
'ReflectionMethod::getClosure' => ['Closure', 'object'=>'?object'],
1007810078
'ReflectionMethod::getDeclaringClass' => ['ReflectionClass'],
1007910079
'ReflectionMethod::getModifiers' => ['int'],
1008010080
'ReflectionMethod::getPrototype' => ['ReflectionMethod'],

0 commit comments

Comments
 (0)