Skip to content
This repository was archived by the owner on May 13, 2023. It is now read-only.

Commit 7117c21

Browse files
committed
Updates docblock: headers can be an array of strings, but array of arrays as well
1 parent 4d4c7e7 commit 7117c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MessageFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface MessageFactory
2727
* @param string $method
2828
* @param string|UriInterface $uri
2929
* @param string $protocolVersion
30-
* @param string[] $headers
30+
* @param array $headers
3131
* @param resource|string|StreamInterface|null $body
3232
*
3333
* @return RequestInterface
@@ -46,7 +46,7 @@ public function createRequest(
4646
* @param integer $statusCode
4747
* @param string|null $reasonPhrase
4848
* @param string $protocolVersion
49-
* @param string[] $headers
49+
* @param array $headers
5050
* @param resource|string|StreamInterface|null $body
5151
*
5252
* @return ResponseInterface

0 commit comments

Comments
 (0)