@@ -130,7 +130,7 @@ class Request
130
130
public $ headers ;
131
131
132
132
/**
133
- * @var string|resource
133
+ * @var string|resource|false|null
134
134
*/
135
135
protected $ content ;
136
136
@@ -207,13 +207,13 @@ class Request
207
207
protected static $ requestFactory ;
208
208
209
209
/**
210
- * @param array $query The GET parameters
211
- * @param array $request The POST parameters
212
- * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
213
- * @param array $cookies The COOKIE parameters
214
- * @param array $files The FILES parameters
215
- * @param array $server The SERVER parameters
216
- * @param string|resource $content The raw body data
210
+ * @param array $query The GET parameters
211
+ * @param array $request The POST parameters
212
+ * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
213
+ * @param array $cookies The COOKIE parameters
214
+ * @param array $files The FILES parameters
215
+ * @param array $server The SERVER parameters
216
+ * @param string|resource|null $content The raw body data
217
217
*/
218
218
public function __construct (array $ query = array (), array $ request = array (), array $ attributes = array (), array $ cookies = array (), array $ files = array (), array $ server = array (), $ content = null )
219
219
{
@@ -225,13 +225,13 @@ public function __construct(array $query = array(), array $request = array(), ar
225
225
*
226
226
* This method also re-initializes all properties.
227
227
*
228
- * @param array $query The GET parameters
229
- * @param array $request The POST parameters
230
- * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
231
- * @param array $cookies The COOKIE parameters
232
- * @param array $files The FILES parameters
233
- * @param array $server The SERVER parameters
234
- * @param string|resource $content The raw body data
228
+ * @param array $query The GET parameters
229
+ * @param array $request The POST parameters
230
+ * @param array $attributes The request attributes (parameters parsed from the PATH_INFO, ...)
231
+ * @param array $cookies The COOKIE parameters
232
+ * @param array $files The FILES parameters
233
+ * @param array $server The SERVER parameters
234
+ * @param string|resource|null $content The raw body data
235
235
*/
236
236
public function initialize (array $ query = array (), array $ request = array (), array $ attributes = array (), array $ cookies = array (), array $ files = array (), array $ server = array (), $ content = null )
237
237
{
@@ -294,13 +294,13 @@ public static function createFromGlobals()
294
294
* The information contained in the URI always take precedence
295
295
* over the other information (server and parameters).
296
296
*
297
- * @param string $uri The URI
298
- * @param string $method The HTTP method
299
- * @param array $parameters The query (GET) or request (POST) parameters
300
- * @param array $cookies The request cookies ($_COOKIE)
301
- * @param array $files The request files ($_FILES)
302
- * @param array $server The server parameters ($_SERVER)
303
- * @param string|resource $content The raw body data
297
+ * @param string $uri The URI
298
+ * @param string $method The HTTP method
299
+ * @param array $parameters The query (GET) or request (POST) parameters
300
+ * @param array $cookies The request cookies ($_COOKIE)
301
+ * @param array $files The request files ($_FILES)
302
+ * @param array $server The server parameters ($_SERVER)
303
+ * @param string|resource|null $content The raw body data
304
304
*
305
305
* @return static
306
306
*/
0 commit comments