@@ -40697,6 +40697,7 @@ class WP_Http
4069740697 * filename?: string,
4069840698 * limit_response_size?: int,
4069940699 * } $args
40700+ * @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
4070040701 */
4070140702 public function request($url, $args = array())
4070240703 {
@@ -40785,6 +40786,7 @@ private function _dispatch_request($url, $args)
4078540786 * @param string|array $args Optional. Override the defaults.
4078640787 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
4078740788 * A WP_Error instance upon error.
40789+ * @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
4078840790 */
4078940791 public function post($url, $args = array())
4079040792 {
@@ -40800,6 +40802,7 @@ public function post($url, $args = array())
4080040802 * @param string|array $args Optional. Override the defaults.
4080140803 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
4080240804 * A WP_Error instance upon error.
40805+ * @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
4080340806 */
4080440807 public function get($url, $args = array())
4080540808 {
@@ -40815,6 +40818,7 @@ public function get($url, $args = array())
4081540818 * @param string|array $args Optional. Override the defaults.
4081640819 * @return array|WP_Error Array containing 'headers', 'body', 'response', 'cookies', 'filename'.
4081740820 * A WP_Error instance upon error.
40821+ * @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
4081840822 */
4081940823 public function head($url, $args = array())
4082040824 {
0 commit comments