@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Detects and returns the request base path (without script name) |
81 | 81 | * |
82 | - * @return mixed|string |
|
82 | + * @return string |
|
83 | 83 | */ |
84 | 84 | public function getBasePath() |
85 | 85 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * |
113 | 113 | * Uses the server parameter values to determine the correct request path |
114 | 114 | * |
115 | - * @return mixed|string |
|
115 | + * @return string |
|
116 | 116 | */ |
117 | 117 | protected function detectBasePath() |
118 | 118 | { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | * the file in the $_FILES array if available, as PHP calculates this based |
179 | 179 | * on the actual size transmitted. |
180 | 180 | * |
181 | - * @return int|null The file size in bytes or null if unknown. |
|
181 | + * @return integer The file size in bytes or null if unknown. |
|
182 | 182 | */ |
183 | 183 | public function getSize() |
184 | 184 | { |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | * Implementations SHOULD return the value stored in the "name" key of |
215 | 215 | * the file in the $_FILES array. |
216 | 216 | * |
217 | - * @return string|null The filename sent by the client or null if none |
|
217 | + * @return string The filename sent by the client or null if none |
|
218 | 218 | * was provided. |
219 | 219 | */ |
220 | 220 | public function getClientFilename() |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | * Implementations SHOULD return the value stored in the "type" key of |
233 | 233 | * the file in the $_FILES array. |
234 | 234 | * |
235 | - * @return string|null The media type sent by the client or null if none |
|
235 | + * @return string The media type sent by the client or null if none |
|
236 | 236 | * was provided. |
237 | 237 | */ |
238 | 238 | public function getClientMediaType() |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | /** |
269 | 269 | * Sets the size of this file |
270 | 270 | * |
271 | - * @param $size |
|
271 | + * @param integer $size |
|
272 | 272 | * |
273 | 273 | * @return self|$this|UploadedFileInterface |
274 | 274 | */ |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | |
404 | 404 | /** |
405 | 405 | * Move current uploaded file to provided target destination |
406 | - * @param $target |
|
406 | + * @param string $target |
|
407 | 407 | * |
408 | 408 | * @return bool |
409 | 409 | */ |
@@ -91,7 +91,7 @@ |
||
91 | 91 | * |
92 | 92 | * After the stream has been detached, the stream is in an unusable state. |
93 | 93 | * |
94 | - * @return resource|null Underlying PHP stream, if any |
|
94 | + * @return resource Underlying PHP stream, if any |
|
95 | 95 | */ |
96 | 96 | public function detach() |
97 | 97 | { |