Skip to content

Commit deb4ec9

Browse files
committed
Fix return type of pcntl_signal_get_handler
1 parent d04b313 commit deb4ec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/functionMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7612,7 +7612,7 @@
76127612
'pcntl_setpriority' => ['bool', 'priority'=>'int', 'pid='=>'int', 'process_identifier='=>'int'],
76137613
'pcntl_signal' => ['bool', 'signo'=>'int', 'handle'=>'callable|int', 'restart_syscalls='=>'bool'],
76147614
'pcntl_signal_dispatch' => ['bool'],
7615-
'pcntl_signal_get_handler' => ['int|string', 'signo'=>'int'],
7615+
'pcntl_signal_get_handler' => ['(callable(): mixed)|int', 'signo'=>'int'],
76167616
'pcntl_sigprocmask' => ['bool', 'how'=>'int', 'set'=>'array', '&w_oldset='=>'array'],
76177617
'pcntl_sigtimedwait' => ['int|false', 'set'=>'array', '&w_siginfo='=>'array', 'seconds='=>'int', 'nanoseconds='=>'int'],
76187618
'pcntl_sigwaitinfo' => ['int|false', 'set'=>'array', '&w_siginfo='=>'array'],

0 commit comments

Comments
 (0)