summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-08-07 16:48:39 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-08-07 16:48:45 +0200
commit046cc5e4c213b836546689d5bdc8925f057c24b5 (patch)
tree2fc60163e4d8a588203483ad3094d339fe246799 /ext/pcntl/pcntl.stub.php
parent7b9f37c3893a9a1c942a04a09c9e6b172c4af80b (diff)
downloadphp-git-046cc5e4c213b836546689d5bdc8925f057c24b5.tar.gz
Add another round of missing parameter types to stubs
Closes GH-5950
Diffstat (limited to 'ext/pcntl/pcntl.stub.php')
-rw-r--r--ext/pcntl/pcntl.stub.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/ext/pcntl/pcntl.stub.php b/ext/pcntl/pcntl.stub.php
index 3c1fd97968..0c56b04966 100644
--- a/ext/pcntl/pcntl.stub.php
+++ b/ext/pcntl/pcntl.stub.php
@@ -4,10 +4,16 @@
function pcntl_fork(): int {}
-/** @param int $status */
+/**
+ * @param int $status
+ * @param array $rusage
+ */
function pcntl_waitpid(int $pid, &$status, int $options = 0, &$rusage = []): int {}
-/** @param int $status */
+/**
+ * @param int $status
+ * @param array $rusage
+ */
function pcntl_wait(&$status, int $options = 0, &$rusage = []): int {}
/** @param callable|int $handler */