@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | /** |
358 | 358 | * Validate directory/permission before creating a folder |
359 | 359 | * |
360 | - * @param $dir string the folder name to check |
|
360 | + * @param string $dir string the folder name to check |
|
361 | 361 | * @return bool |
362 | 362 | */ |
363 | 363 | private function isDirectoryValid($dir) |
@@ -462,7 +462,7 @@ discard block |
||
462 | 462 | * Final upload method to be called, isolated for testing purposes |
463 | 463 | * |
464 | 464 | * @param $tmp_name int the temporary location of the image file |
465 | - * @param $destination int upload destination |
|
465 | + * @param string $destination int upload destination |
|
466 | 466 | * |
467 | 467 | * @return bool |
468 | 468 | */ |