From 749f50beced5391d38b015dece305962650063b8 Mon Sep 17 00:00:00 2001 From: Stefano Arlandini Date: Fri, 12 Jun 2020 20:34:12 +0200 Subject: [PATCH] Loosen the requirements for the $function parameter of the register_shutdown_function function --- src/Reflection/SignatureMap/functionMap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Reflection/SignatureMap/functionMap.php b/src/Reflection/SignatureMap/functionMap.php index 11a7e53b2f..f82788ea67 100644 --- a/src/Reflection/SignatureMap/functionMap.php +++ b/src/Reflection/SignatureMap/functionMap.php @@ -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'],