@@ -52,16 +52,21 @@ final class ServerRequest implements ServerRequestInterface
5252 private array $ uploadedFiles ;
5353
5454 /**
55- * @param array $serverParams
56- * @param array $uploadedFiles
57- * @param array $cookieParams
58- * @param array $queryParams
59- * @param array|object|null $parsedBody
60- * @param string $method
61- * @param UriInterface|string $uri
62- * @param array $headers
63- * @param StreamInterface|string|resource|null $body
64- * @param string $protocol
55+ * @param array $serverParams The server parameters.
56+ * @param array $uploadedFiles The array of uploaded files, each being an instance of `UploadedFileInterface`.
57+ * Nested arrays are allowed.
58+ * @param array $cookieParams The cookie parameters.
59+ * @param array $queryParams The query parameters.
60+ * @param array|object|null $parsedBody The parsed body.
61+ * @param string $method The HTTP method.
62+ * @param UriInterface|string $uri The URI to request.
63+ * @param array $headers The headers to send with the request.
64+ * @param StreamInterface|string|resource|null $body The body of the request. Must be one of the following:
65+ * - an instance of `StreamInterface`;
66+ * - a string stream identifier (e.g., 'php://temp') or a file path;
67+ * - a valid stream resource;
68+ * - `null`.
69+ * @param string $protocol The HTTP protocol version.
6570 */
6671 public function __construct (
6772 array $ serverParams = [],
0 commit comments