Skip to content

Commit 35cc06b

Browse files
committed
Address comments
1 parent 52ba0c1 commit 35cc06b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ext/curl/curl.stub.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ function curl_multi_exec(CurlMultiHandle $multi_handle, &$still_running): int {}
5050

5151
function curl_multi_getcontent(CurlHandle $multi_handle): ?string {}
5252

53-
/** @param int $queued_message_count */
54-
function curl_multi_info_read(CurlMultiHandle $multi_handle, &$queued_message_count = null): array|false {}
53+
/** @param int $queued_messages */
54+
function curl_multi_info_read(CurlMultiHandle $multi_handle, &$queued_messages = null): array|false {}
5555

5656
function curl_multi_init(): CurlMultiHandle {}
5757

@@ -62,7 +62,7 @@ function curl_multi_select(CurlMultiHandle $multi_handle, float $timeout = 1.0):
6262
function curl_multi_strerror(int $error_code): ?string {}
6363

6464
#if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */
65-
function curl_pause(CurlHandle $handle, int $options): int {}
65+
function curl_pause(CurlHandle $handle, int $flags): int {}
6666
#endif
6767

6868
function curl_reset(CurlHandle $handle): void {}

ext/curl/curl_arginfo.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 83e2035ae9ce2a53e132ff47e8030ef4bffe638b */
2+
* Stub hash: afeae538b49eb43a661e5b491da79c17d10c6bfe */
33

44
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_curl_close, 0, 1, IS_VOID, 0)
55
ZEND_ARG_OBJ_INFO(0, handle, CurlHandle, 0)
@@ -79,7 +79,7 @@ ZEND_END_ARG_INFO()
7979

8080
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_curl_multi_info_read, 0, 1, MAY_BE_ARRAY|MAY_BE_FALSE)
8181
ZEND_ARG_OBJ_INFO(0, multi_handle, CurlMultiHandle, 0)
82-
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, queued_message_count, "null")
82+
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(1, queued_messages, "null")
8383
ZEND_END_ARG_INFO()
8484

8585
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_curl_multi_init, 0, 0, CurlMultiHandle, 0)
@@ -99,7 +99,7 @@ ZEND_END_ARG_INFO()
9999
#if LIBCURL_VERSION_NUM >= 0x071200 /* 7.18.0 */
100100
ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_curl_pause, 0, 2, IS_LONG, 0)
101101
ZEND_ARG_OBJ_INFO(0, handle, CurlHandle, 0)
102-
ZEND_ARG_TYPE_INFO(0, options, IS_LONG, 0)
102+
ZEND_ARG_TYPE_INFO(0, flags, IS_LONG, 0)
103103
ZEND_END_ARG_INFO()
104104
#endif
105105

0 commit comments

Comments
 (0)