summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sockets/sockets.stub.php')
-rw-r--r--ext/sockets/sockets.stub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.stub.php b/ext/sockets/sockets.stub.php
index 1a62d83193..b345163bc7 100644
--- a/ext/sockets/sockets.stub.php
+++ b/ext/sockets/sockets.stub.php
@@ -78,7 +78,7 @@ function socket_setopt(Socket $socket, int $level, int $option, $value): bool {}
#ifdef HAVE_SOCKETPAIR
/** @param array $pair */
-function socket_create_pair(int $domain, int $type, int $protocol, &$pair): ?bool {}
+function socket_create_pair(int $domain, int $type, int $protocol, &$pair): bool {}
#endif
#ifdef HAVE_SHUTDOWN