Skip to content

Commit 68ae6b2

Browse files
committed
Removes parameters from the message factory
1 parent 3221199 commit 68ae6b2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/Message/MessageFactory.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ public function setBaseUri($baseUri);
5353
* @param string $protocolVersion
5454
* @param string[] $headers
5555
* @param resource|string|StreamInterface|null $body
56-
* @param array $parameters
5756
*
5857
* @return RequestInterface
5958
*/
@@ -62,8 +61,7 @@ public function createRequest(
6261
$uri,
6362
$protocolVersion = '1.1',
6463
array $headers = [],
65-
$body = null,
66-
array $parameters = []
64+
$body = null
6765
);
6866

6967
/**
@@ -96,15 +94,13 @@ public function createInternalRequest(
9694
* @param string $protocolVersion
9795
* @param string[] $headers
9896
* @param resource|string|StreamInterface|null $body
99-
* @param array $parameters
10097
*
10198
* @return ResponseInterface
10299
*/
103100
public function createResponse(
104101
$statusCode = 200,
105102
$protocolVersion = '1.1',
106103
array $headers = [],
107-
$body = null,
108-
array $parameters = []
104+
$body = null
109105
);
110106
}

0 commit comments

Comments
 (0)