Completed
Branch prettify (59eb21)
by samayo
01:36
created
src/bulletproof.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@  discard block
 block discarded – undo
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) 
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
     /**
396 396
      * Validate image and upload
397 397
      * 
398
-     * @return false|Image
398
+     * @return false|null
399 399
      */
400 400
     public function upload()
401 401
     {
@@ -454,9 +454,9 @@  discard block
 block discarded – undo
454 454
      * Final upload method to be called, isolated for testing purposes
455 455
      *
456 456
      * @param $tmp_name int the temporary location of the image file
457
-     * @param $destination int upload destination
457
+     * @param string $destination int upload destination
458 458
      *
459
-     * @return bool
459
+     * @return Image|null
460 460
      */
461 461
     public function moveUploadedFile($tmp_name, $destination)
462 462
     {
Please login to merge, or discard this patch.