From 596561009c8d7208db1b6506b68d92eefb11e6a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Mon, 8 Jun 2020 11:10:56 +0200 Subject: Fix some UNKNOWN default values In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl --- ext/pcntl/pcntl.stub.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/pcntl/pcntl.stub.php') 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 {} -- cgit v1.2.1