@@ -40703,7 +40703,7 @@ class WP_Http
40703
40703
* filename?: string,
40704
40704
* limit_response_size?: int,
40705
40705
* } $args
40706
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
40706
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
40707
40707
*/
40708
40708
public function request($url, $args = array())
40709
40709
{
@@ -40792,7 +40792,7 @@ private function _dispatch_request($url, $args)
40792
40792
* @param string|array $args Optional. Override the defaults.
40793
40793
* @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
40794
40794
* A WP_Error instance upon error.
40795
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
40795
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
40796
40796
*/
40797
40797
public function post($url, $args = array())
40798
40798
{
@@ -40808,7 +40808,7 @@ public function post($url, $args = array())
40808
40808
* @param string|array $args Optional. Override the defaults.
40809
40809
* @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
40810
40810
* A WP_Error instance upon error.
40811
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
40811
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
40812
40812
*/
40813
40813
public function get($url, $args = array())
40814
40814
{
@@ -40824,7 +40824,7 @@ public function get($url, $args = array())
40824
40824
* @param string|array $args Optional. Override the defaults.
40825
40825
* @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
40826
40826
* A WP_Error instance upon error.
40827
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
40827
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
40828
40828
*/
40829
40829
public function head($url, $args = array())
40830
40830
{
@@ -104018,7 +104018,7 @@ function _wp_http_get_object()
104018
104018
* @param string $url URL to retrieve.
104019
104019
* @param array $args Optional. Request arguments. Default empty array.
104020
104020
* @return array|WP_Error The response or WP_Error on failure.
104021
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104021
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104022
104022
*/
104023
104023
function wp_safe_remote_request($url, $args = array())
104024
104024
{
@@ -104037,7 +104037,7 @@ function wp_safe_remote_request($url, $args = array())
104037
104037
* @param string $url URL to retrieve.
104038
104038
* @param array $args Optional. Request arguments. Default empty array.
104039
104039
* @return array|WP_Error The response or WP_Error on failure.
104040
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104040
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104041
104041
*/
104042
104042
function wp_safe_remote_get($url, $args = array())
104043
104043
{
@@ -104056,7 +104056,7 @@ function wp_safe_remote_get($url, $args = array())
104056
104056
* @param string $url URL to retrieve.
104057
104057
* @param array $args Optional. Request arguments. Default empty array.
104058
104058
* @return array|WP_Error The response or WP_Error on failure.
104059
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104059
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104060
104060
*/
104061
104061
function wp_safe_remote_post($url, $args = array())
104062
104062
{
@@ -104075,7 +104075,7 @@ function wp_safe_remote_post($url, $args = array())
104075
104075
* @param string $url URL to retrieve.
104076
104076
* @param array $args Optional. Request arguments. Default empty array.
104077
104077
* @return array|WP_Error The response or WP_Error on failure.
104078
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104078
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104079
104079
*/
104080
104080
function wp_safe_remote_head($url, $args = array())
104081
104081
{
@@ -104116,7 +104116,7 @@ function wp_safe_remote_head($url, $args = array())
104116
104116
* cookies: WP_HTTP_Cookie[],
104117
104117
* http_response: WP_HTTP_Requests_Response|null,
104118
104118
* }
104119
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104119
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104120
104120
*/
104121
104121
function wp_remote_request($url, $args = array())
104122
104122
{
@@ -104132,7 +104132,7 @@ function wp_remote_request($url, $args = array())
104132
104132
* @param string $url URL to retrieve.
104133
104133
* @param array $args Optional. Request arguments. Default empty array.
104134
104134
* @return array|WP_Error The response or WP_Error on failure.
104135
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104135
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104136
104136
*/
104137
104137
function wp_remote_get($url, $args = array())
104138
104138
{
@@ -104148,7 +104148,7 @@ function wp_remote_get($url, $args = array())
104148
104148
* @param string $url URL to retrieve.
104149
104149
* @param array $args Optional. Request arguments. Default empty array.
104150
104150
* @return array|WP_Error The response or WP_Error on failure.
104151
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104151
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104152
104152
*/
104153
104153
function wp_remote_post($url, $args = array())
104154
104154
{
@@ -104164,7 +104164,7 @@ function wp_remote_post($url, $args = array())
104164
104164
* @param string $url URL to retrieve.
104165
104165
* @param array $args Optional. Request arguments. Default empty array.
104166
104166
* @return array|WP_Error The response or WP_Error on failure.
104167
- * @phpstan-return array{headers:Requests_Utility_CaseInsensitiveDictionary,body:string,response:array{code:int,message:string},cookies:array<int,WP_HTTP_Cookie>,filename:string|null,http_response:WP_HTTP_Requests_Response}|WP_Error
104167
+ * @phpstan-return array{headers: \ Requests_Utility_CaseInsensitiveDictionary, body: string, response: array{code: int,message: string}, cookies: array<int, \ WP_HTTP_Cookie>, filename: string|null, http_response: \ WP_HTTP_Requests_Response}|\ WP_Error
104168
104168
*/
104169
104169
function wp_remote_head($url, $args = array())
104170
104170
{
0 commit comments