@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | /** |
| 353 | 353 | * Validate directory/permission before creating a folder. |
| 354 | 354 | * |
| 355 | - * @param $dir string the folder name to check |
|
| 355 | + * @param string $dir string the folder name to check |
|
| 356 | 356 | * |
| 357 | 357 | * @return bool |
| 358 | 358 | */ |
@@ -393,7 +393,7 @@ discard block |
||
| 393 | 393 | /** |
| 394 | 394 | * Validate image size, dimension or mimetypes |
| 395 | 395 | * |
| 396 | - * @return true|false |
|
| 396 | + * @return boolean |
|
| 397 | 397 | */ |
| 398 | 398 | protected function contraintsValidator() |
| 399 | 399 | { |
@@ -457,7 +457,7 @@ discard block |
||
| 457 | 457 | * Final upload method to be called, isolated for testing purposes. |
| 458 | 458 | * |
| 459 | 459 | * @param $tmp_name int the temporary location of the image file |
| 460 | - * @param $destination int upload destination |
|
| 460 | + * @param string $destination int upload destination |
|
| 461 | 461 | * |
| 462 | 462 | * @return bool |
| 463 | 463 | */ |