Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dae9335

Browse filesBrowse files
committed
ReflectionFunction and ReflectionMethod::getClosure cannot return null
1 parent 3e895a5 commit dae9335
Copy full SHA for dae9335

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎resources/functionMap.php‎

Copy file name to clipboardExpand all lines: resources/functionMap.php
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.