Skip to content

Commit 8c4b95a

Browse files
committed
update stub
1 parent 16d9323 commit 8c4b95a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ext/sockets/sockets.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ function socket_sendto(Socket $socket, string $data, int $length, int $flags, st
7474
* @return array<string, mixed>|int|false
7575
* @refcount 1
7676
*/
77-
function socket_get_option(Socket $socket, int $level, int $option): array|int|false {}
77+
function socket_get_option(Socket $socket, int $level, int $option): array|int|string|false {}
7878

7979
/**
8080
* @return array<string, mixed>|int|false
8181
* @alias socket_get_option
8282
*/
83-
function socket_getopt(Socket $socket, int $level, int $option): array|int|false {}
83+
function socket_getopt(Socket $socket, int $level, int $option): array|int|string|false {}
8484

8585
/** @param array|string|int $value */
8686
function socket_set_option(Socket $socket, int $level, int $option, $value): bool {}

ext/sockets/sockets_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)