summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-17 22:37:20 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-25 13:02:13 +0200
commit3df306de94dd94d6520c6f95e96c692c3aa8173a (patch)
treea5b3f45099f2dc6923a148edafb73ed30cefd244 /ext/pcntl/pcntl.stub.php
parent4a98b644131597f6744789355d10aa55a66eee8e (diff)
downloadphp-git-3df306de94dd94d6520c6f95e96c692c3aa8173a.tar.gz
Promote warnings to exceptions in ext/pcntl
Closes GH-6004
Diffstat (limited to 'ext/pcntl/pcntl.stub.php')
-rw-r--r--ext/pcntl/pcntl.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.stub.php b/ext/pcntl/pcntl.stub.php
index 0c56b04966..2c3cd64aad 100644
--- a/ext/pcntl/pcntl.stub.php
+++ b/ext/pcntl/pcntl.stub.php
@@ -19,7 +19,7 @@ function pcntl_wait(&$status, int $options = 0, &$rusage = []): int {}
/** @param callable|int $handler */
function pcntl_signal(int $signo, $handler, bool $restart_syscalls = true): bool {}
-/** @return mixed */
+/** @return callable|int */
function pcntl_signal_get_handler(int $signo) {}
function pcntl_signal_dispatch(): bool {}