Skip to content

Commit

Permalink
Loosen the requirements for the $function parameter of the register_s…
Browse files Browse the repository at this point in the history
…hutdown_function function
  • Loading branch information
ste93cry authored and ondrejmirtes committed Jun 20, 2020
1 parent acf070f commit 749f50b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Reflection/SignatureMap/functionMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -9870,7 +9870,7 @@
'RegexIterator::setMode' => ['bool', 'new_mode'=>'int'],
'RegexIterator::setPregFlags' => ['bool', 'new_flags'=>'int'],
'register_event_handler' => ['bool', 'event_handler_func'=>'event_handler_func', 'handler_register_name'=>'handler_register_name', 'event_type_mask'=>'event_type_mask'],
'register_shutdown_function' => ['void', 'function'=>'callable(): void', '...parameter='=>'mixed'],
'register_shutdown_function' => ['void', 'function'=>'callable', '...parameter='=>'mixed'],
'register_tick_function' => ['bool', 'function'=>'callable(): void', '...args='=>'mixed'],
'rename' => ['bool', 'old_name'=>'string', 'new_name'=>'string', 'context='=>'resource'],
'rename_function' => ['bool', 'original_name'=>'string', 'new_name'=>'string'],
Expand Down

0 comments on commit 749f50b

Please sign in to comment.