Skip to content

Commit a320d09

Browse files
committed
[PHPDoc] Fix some union type cases
1 parent 468a7fa commit a320d09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ResponseInterface.php

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

0 commit comments

Comments
 (0)