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
26
26
*
27
27
* @param string $method
28
28
* @param string|UriInterface $uri
29
- * @param string $protocolVersion
30
29
* @param array $headers
31
30
* @param resource|string|StreamInterface|null $body
31
+ * @param string $protocolVersion
32
32
*
33
33
* @return RequestInterface
34
34
*/
35
35
public function createRequest (
36
36
$ method ,
37
37
$ uri ,
38
- $ protocolVersion = '1.1 ' ,
39
38
array $ headers = [],
40
- $ body = null
39
+ $ body = null ,
40
+ $ protocolVersion = '1.1 '
41
41
);
42
42
43
43
/**
44
44
* Creates a response
45
45
*
46
46
* @param integer $statusCode
47
47
* @param string|null $reasonPhrase
48
- * @param string $protocolVersion
49
48
* @param array $headers
50
49
* @param resource|string|StreamInterface|null $body
50
+ * @param string $protocolVersion
51
51
*
52
52
* @return ResponseInterface
53
53
*/
54
54
public function createResponse (
55
55
$ statusCode = 200 ,
56
56
$ reasonPhrase = null ,
57
- $ protocolVersion = '1.1 ' ,
58
57
array $ headers = [],
59
- $ body = null
58
+ $ body = null ,
59
+ $ protocolVersion = '1.1 '
60
60
);
61
61
}
You can’t perform that action at this time.
0 commit comments