Skip to content

Commit 749f50b

Browse files
ste93cryondrejmirtes
authored andcommitted
Loosen the requirements for the $function parameter of the register_shutdown_function function
1 parent acf070f commit 749f50b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Reflection/SignatureMap/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9870,7 +9870,7 @@
98709870
'RegexIterator::setMode' => ['bool', 'new_mode'=>'int'],
98719871
'RegexIterator::setPregFlags' => ['bool', 'new_flags'=>'int'],
98729872
'register_event_handler' => ['bool', 'event_handler_func'=>'event_handler_func', 'handler_register_name'=>'handler_register_name', 'event_type_mask'=>'event_type_mask'],
9873-
'register_shutdown_function' => ['void', 'function'=>'callable(): void', '...parameter='=>'mixed'],
9873+
'register_shutdown_function' => ['void', 'function'=>'callable', '...parameter='=>'mixed'],
98749874
'register_tick_function' => ['bool', 'function'=>'callable(): void', '...args='=>'mixed'],
98759875
'rename' => ['bool', 'old_name'=>'string', 'new_name'=>'string', 'context='=>'resource'],
98769876
'rename_function' => ['bool', 'original_name'=>'string', 'new_name'=>'string'],

0 commit comments

Comments
 (0)