File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Component/HttpClient/Response Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 30
30
trait TransportResponseTrait
31
31
{
32
32
private Canary $ canary ;
33
+ /** @var array<string, list<string>> */
33
34
private array $ headers = [];
34
35
private array $ info = [
35
36
'response_headers ' => [],
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ public function getStatusCode(): int;
36
36
*
37
37
* @param bool $throw Whether an exception should be thrown on 3/4/5xx status codes
38
38
*
39
- * @return string[][] The headers of the response keyed by header names in lowercase
39
+ * @return array< string, list<string>> The headers of the response keyed by header names in lowercase
40
40
*
41
41
* @throws TransportExceptionInterface When a network error occurs
42
42
* @throws RedirectionExceptionInterface On a 3xx when $throw is true and the "max_redirects" option has been reached
You can’t perform that action at this time.
0 commit comments