@@ -46,8 +46,8 @@ public function setBaseUri($baseUri);
46
46
/**
47
47
* Creates a new request
48
48
*
49
- * @param string|UriInterface $uri
50
49
* @param string $method
50
+ * @param string|UriInterface $uri
51
51
* @param string $protocolVersion
52
52
* @param string[] $headers
53
53
* @param resource|string|StreamInterface|null $body
@@ -56,8 +56,8 @@ public function setBaseUri($baseUri);
56
56
* @return RequestInterface
57
57
*/
58
58
public function createRequest (
59
- $ uri ,
60
59
$ method = RequestInterface::METHOD_GET ,
60
+ $ uri ,
61
61
$ protocolVersion = RequestInterface::PROTOCOL_VERSION_1_1 ,
62
62
array $ headers = [],
63
63
$ body = null ,
@@ -67,8 +67,8 @@ public function createRequest(
67
67
/**
68
68
* Creates an internal request
69
69
*
70
- * @param string|UriInterface $uri
71
70
* @param string $method
71
+ * @param string|UriInterface $uri
72
72
* @param string $protocolVersion
73
73
* @param string[] $headers
74
74
* @param array|string $data
@@ -78,8 +78,8 @@ public function createRequest(
78
78
* @return InternalRequestInterface
79
79
*/
80
80
public function createInternalRequest (
81
- $ uri ,
82
81
$ method = RequestInterface::METHOD_GET ,
82
+ $ uri ,
83
83
$ protocolVersion = RequestInterface::PROTOCOL_VERSION_1_1 ,
84
84
array $ headers = [],
85
85
$ data = [],
@@ -88,7 +88,7 @@ public function createInternalRequest(
88
88
);
89
89
90
90
/**
91
- * Creates a response.
91
+ * Creates a response
92
92
*
93
93
* @param integer $statusCode
94
94
* @param string $protocolVersion
0 commit comments