Skip to content

Commit 068adb8

Browse files
committed
Update core.stub
1 parent e1cce58 commit 068adb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stubs/core.stub

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,5 @@ function pcntl_signal(int $signal, $handler, bool $restart_syscalls = true): boo
335335

336336
/**
337337
* @param-later-invoked-callable $callback
338-
* @return string|array|object|null
339338
*/
340-
function set_error_handler(?callable $callback, int $error_levels = E_ALL) {}
339+
function set_error_handler(?callable $callback, int $error_levels = E_ALL): ?callable {}

0 commit comments

Comments
 (0)