Skip to content

Commit e254b41

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [PHPDoc] Fix some union type cases
2 parents c6809da + afbb116 commit e254b41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

HttpClient/ResponseInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ public function cancel(): void;
9595
* - response_headers (array) - an array modelled after the special $http_response_header variable
9696
* - start_time (float) - the time when the request was sent or 0.0 when it's pending
9797
* - url (string) - the last effective URL of the request
98-
* - user_data (mixed|null) - the value of the "user_data" request option, null if not set
98+
* - user_data (mixed) - the value of the "user_data" request option, null if not set
9999
*
100100
* When the "capture_peer_cert_chain" option is true, the "peer_certificate_chain"
101101
* attribute SHOULD list the peer certificates as an array of OpenSSL X.509 resources.
102102
*
103103
* Other info SHOULD be named after curl_getinfo()'s associative return value.
104104
*
105-
* @return array|mixed|null An array of all available info, or one of them when $type is
106-
* provided, or null when an unsupported type is requested
105+
* @return array|mixed An array of all available info, or one of them when $type is
106+
* provided, or null when an unsupported type is requested
107107
*/
108108
public function getInfo(string $type = null);
109109
}

0 commit comments

Comments
 (0)