@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * Return a response for application/json content not found |
| 64 | 64 | * |
| 65 | - * @return ResponseInterface |
|
| 65 | + * @return string |
|
| 66 | 66 | */ |
| 67 | 67 | protected function renderJsonNotFoundOutput() |
| 68 | 68 | { |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | /** |
| 73 | 73 | * Return a response for xml content not found |
| 74 | 74 | * |
| 75 | - * @return ResponseInterface |
|
| 75 | + * @return string |
|
| 76 | 76 | */ |
| 77 | 77 | protected function renderXmlNotFoundOutput() |
| 78 | 78 | { |
@@ -201,7 +201,7 @@ |
||
| 201 | 201 | * new and/or updated header and value. |
| 202 | 202 | * |
| 203 | 203 | * @param string $name Case-insensitive header field name. |
| 204 | - * @param string|string[] $value Header value(s). |
|
| 204 | + * @param string $value Header value(s). |
|
| 205 | 205 | * @return static |
| 206 | 206 | * @throws \InvalidArgumentException for invalid header names or values. |
| 207 | 207 | */ |
@@ -783,7 +783,7 @@ |
||
| 783 | 783 | * These values MAY be prepared from $_FILES or the message body during |
| 784 | 784 | * instantiation, or MAY be injected via withUploadedFiles(). |
| 785 | 785 | * |
| 786 | - * @return array An array tree of UploadedFileInterface instances; an empty |
|
| 786 | + * @return UploadedFileInterface[] An array tree of UploadedFileInterface instances; an empty |
|
| 787 | 787 | * array MUST be returned if no data is present. |
| 788 | 788 | */ |
| 789 | 789 | public function getUploadedFiles() |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | * |
| 148 | 148 | * After the stream has been detached, the stream is in an unusable state. |
| 149 | 149 | * |
| 150 | - * @return resource|null Underlying PHP stream, if any |
|
| 150 | + * @return resource Underlying PHP stream, if any |
|
| 151 | 151 | */ |
| 152 | 152 | public function detach() |
| 153 | 153 | { |
@@ -285,7 +285,7 @@ discard block |
||
| 285 | 285 | * Implementations SHOULD return the value stored in the "name" key of |
| 286 | 286 | * the file in the $_FILES array. |
| 287 | 287 | * |
| 288 | - * @return string|null The filename sent by the client or null if none |
|
| 288 | + * @return string The filename sent by the client or null if none |
|
| 289 | 289 | * was provided. |
| 290 | 290 | */ |
| 291 | 291 | public function getClientFilename() |
@@ -303,7 +303,7 @@ discard block |
||
| 303 | 303 | * Implementations SHOULD return the value stored in the "type" key of |
| 304 | 304 | * the file in the $_FILES array. |
| 305 | 305 | * |
| 306 | - * @return string|null The media type sent by the client or null if none |
|
| 306 | + * @return string The media type sent by the client or null if none |
|
| 307 | 307 | * was provided. |
| 308 | 308 | */ |
| 309 | 309 | public function getClientMediaType() |
@@ -318,7 +318,7 @@ discard block |
||
| 318 | 318 | * the file in the $_FILES array if available, as PHP calculates this based |
| 319 | 319 | * on the actual size transmitted. |
| 320 | 320 | * |
| 321 | - * @return int|null The file size in bytes or null if unknown. |
|
| 321 | + * @return integer The file size in bytes or null if unknown. |
|
| 322 | 322 | */ |
| 323 | 323 | public function getSize() |
| 324 | 324 | { |