summaryrefslogtreecommitdiff
path: root/ext/pcntl/pcntl.stub.php
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-06-08 11:10:56 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-06-09 09:46:51 +0200
commit596561009c8d7208db1b6506b68d92eefb11e6a2 (patch)
treec9d718d87865660edc815b77f68ba9baa0ad9e30 /ext/pcntl/pcntl.stub.php
parentcadcefc956fd94a12580f7484caef91116456731 (diff)
downloadphp-git-596561009c8d7208db1b6506b68d92eefb11e6a2.tar.gz
Fix some UNKNOWN default values
In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl
Diffstat (limited to 'ext/pcntl/pcntl.stub.php')
-rw-r--r--ext/pcntl/pcntl.stub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pcntl/pcntl.stub.php b/ext/pcntl/pcntl.stub.php
index 5653244119..8dbc1c48e2 100644
--- a/ext/pcntl/pcntl.stub.php
+++ b/ext/pcntl/pcntl.stub.php
@@ -56,16 +56,16 @@ function pcntl_get_last_error(): int {}
function pcntl_errno(): int {}
#ifdef HAVE_GETPRIORITY
-function pcntl_getpriority(int $pid = UNKNOWN, int $process_identifier = PRIO_PROCESS): int|false {}
+function pcntl_getpriority(?int $pid = null, int $process_identifier = PRIO_PROCESS): int|false {}
#endif
#ifdef HAVE_SETPRIORITY
-function pcntl_setpriority(int $priority, int $pid = UNKNOWN, int $process_identifier = PRIO_PROCESS): bool{}
+function pcntl_setpriority(int $priority, ?int $pid = null, int $process_identifier = PRIO_PROCESS): bool{}
#endif
function pcntl_strerror(int $errno): string {}
-function pcntl_async_signals(bool $on = UNKNOWN): bool {}
+function pcntl_async_signals(?bool $on = null): bool {}
#ifdef HAVE_UNSHARE
function pcntl_unshare(int $flags): bool {}