#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
/* This is a generated file, edit the .stub.php file instead.
- * Stub hash: ee025740240c285691a84cfa3563c1dd1586a75d */
+ * Stub hash: 90c3c470833947859433a2668d328fddfff94ae9 */
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_socket_select, 0, 4, MAY_BE_LONG|MAY_BE_FALSE)
ZEND_ARG_TYPE_INFO(1, read, IS_ARRAY, 1)
#define arginfo_socket_setopt arginfo_socket_set_option
#if defined(HAVE_SOCKETPAIR)
-ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_socket_create_pair, 0, 4, _IS_BOOL, 1)
+ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_socket_create_pair, 0, 4, _IS_BOOL, 0)
ZEND_ARG_TYPE_INFO(0, domain, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, type, IS_LONG, 0)
ZEND_ARG_TYPE_INFO(0, protocol, IS_LONG, 0)