This repository was archived by the owner on May 13, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -26,36 +26,36 @@ interface MessageFactory
2626 *
2727 * @param string $method
2828 * @param string|UriInterface $uri
29- * @param string $protocolVersion
3029 * @param array $headers
3130 * @param resource|string|StreamInterface|null $body
31+ * @param string $protocolVersion
3232 *
3333 * @return RequestInterface
3434 */
3535 public function createRequest (
3636 $ method ,
3737 $ uri ,
38- $ protocolVersion = '1.1 ' ,
3938 array $ headers = [],
40- $ body = null
39+ $ body = null ,
40+ $ protocolVersion = '1.1 '
4141 );
4242
4343 /**
4444 * Creates a response
4545 *
4646 * @param integer $statusCode
4747 * @param string|null $reasonPhrase
48- * @param string $protocolVersion
4948 * @param array $headers
5049 * @param resource|string|StreamInterface|null $body
50+ * @param string $protocolVersion
5151 *
5252 * @return ResponseInterface
5353 */
5454 public function createResponse (
5555 $ statusCode = 200 ,
5656 $ reasonPhrase = null ,
57- $ protocolVersion = '1.1 ' ,
5857 array $ headers = [],
59- $ body = null
58+ $ body = null ,
59+ $ protocolVersion = '1.1 '
6060 );
6161}
You can’t perform that action at this time.
0 commit comments