@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | * |
160 | 160 | * @param mixed $offset |
161 | 161 | * |
162 | - * @return bool|mixed |
|
162 | + * @return string|boolean |
|
163 | 163 | */ |
164 | 164 | public function offsetGet($offset) |
165 | 165 | { |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | /** |
180 | 180 | * Provide image name if not provided |
181 | 181 | * |
182 | - * @param null $isNameProvided |
|
182 | + * @param string $isNameProvided |
|
183 | 183 | * @return $this |
184 | 184 | */ |
185 | 185 | public function setName($isNameProvided = null) |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | /** |
195 | 195 | * Define a mime type for uploading |
196 | 196 | * |
197 | - * @param array $fileTypes |
|
197 | + * @param string[] $fileTypes |
|
198 | 198 | * |
199 | 199 | * @return $this |
200 | 200 | */ |
@@ -207,8 +207,8 @@ discard block |
||
207 | 207 | /** |
208 | 208 | * Define a min and max image size for uploading |
209 | 209 | * |
210 | - * @param $min int minimum value in bytes |
|
211 | - * @param $max int maximum value in bytes |
|
210 | + * @param integer $min int minimum value in bytes |
|
211 | + * @param integer $max int maximum value in bytes |
|
212 | 212 | * |
213 | 213 | * @return $this |
214 | 214 | */ |
@@ -243,8 +243,8 @@ discard block |
||
243 | 243 | /** |
244 | 244 | * Sets acceptable max image height and width |
245 | 245 | * |
246 | - * @param $maxWidth int max width value |
|
247 | - * @param $maxHeight int max height value |
|
246 | + * @param integer $maxWidth int max width value |
|
247 | + * @param integer $maxHeight int max height value |
|
248 | 248 | * |
249 | 249 | * @return $this |
250 | 250 | */ |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | /** |
360 | 360 | * Returns error string or false if no errors occurred |
361 | 361 | * |
362 | - * @return string|bool |
|
362 | + * @return string|false |
|
363 | 363 | */ |
364 | 364 | public function getError() |
365 | 365 | { |
@@ -460,7 +460,7 @@ discard block |
||
460 | 460 | * Final upload method to be called, isolated for testing purposes |
461 | 461 | * |
462 | 462 | * @param $tmp_name int the temporary location of the image file |
463 | - * @param $destination int upload destination |
|
463 | + * @param string $destination int upload destination |
|
464 | 464 | * |
465 | 465 | * @return bool |
466 | 466 | */ |