Skip to content

Commit 5946843

Browse files
committed
Reference $data instead of $params in withParsedBody
1 parent 69ea52e commit 5946843

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ServerRequestInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ public function getParsedBody();
171171
* immutability of the message, and MUST return a new instance that has the
172172
* updated body parameters.
173173
*
174-
* @param null|array|object $params The deserialized body parameters. These
175-
* will typically be in an array or object.
174+
* @param null|array|object $data The deserialized body data. This will
175+
* typically be in an array or object.
176176
* @return self
177177
*/
178-
public function withParsedBody($params);
178+
public function withParsedBody($data);
179179

180180
/**
181181
* Retrieve attributes derived from the request.

0 commit comments

Comments
 (0)