Completed
Push — master ( c68144...d8c2c6 )
by Daniel
02:46
created
source/CommonCode.php 1 patch
Doc Comments   +13 added lines, -5 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
      *
167 167
      * @param string $fullURL
168 168
      * @param array $features
169
-     * @return blob
169
+     * @return string
170 170
      */
171 171
     protected function getContentFromUrlThroughCurl($fullURL, $features = null)
172 172
     {
@@ -367,6 +367,9 @@  discard block
 block discarded – undo
367 367
         return $interval->format('%a days ago');
368 368
     }
369 369
 
370
+    /**
371
+     * @param string $defaultNA
372
+     */
370 373
     private function getPkgBasicInfo($value, $defaultNA)
371 374
     {
372 375
         return [
@@ -383,6 +386,9 @@  discard block
 block discarded – undo
383 386
         ];
384 387
     }
385 388
 
389
+    /**
390
+     * @param string $fileToRead
391
+     */
386 392
     private function getPkgFileInListOfPackageArrayOut($fileToRead)
387 393
     {
388 394
         $handle       = fopen($fileToRead, 'r');
@@ -400,6 +406,9 @@  discard block
 block discarded – undo
400 406
         return $lcns;
401 407
     }
402 408
 
409
+    /**
410
+     * @param string $defaultNA
411
+     */
403 412
     private function getPkgOptAtributeAll($value, $defaultNA)
404 413
     {
405 414
         $attr    = ['description', 'homepage', 'type', 'url', 'version'];
@@ -485,8 +494,7 @@  discard block
 block discarded – undo
485 494
      *
486 495
      * @param type $sourcePath
487 496
      * @param type $targetPath
488
-     * @param type $overwrite
489
-     * @return type
497
+     * @return string
490 498
      */
491 499
     protected function moveFilesIntoTargetFolder($sourcePath, $targetPath)
492 500
     {
@@ -653,7 +661,7 @@  discard block
 block discarded – undo
653 661
      *
654 662
      * @param float $fAbove
655 663
      * @param float $fBelow
656
-     * @param mixed $mArguments
664
+     * @param integer $mArguments
657 665
      * @return decimal
658 666
      */
659 667
     protected function setDividedResult($fAbove, $fBelow, $mArguments = 0)
@@ -677,7 +685,7 @@  discard block
 block discarded – undo
677 685
     /**
678 686
      * Provides a list of all known JSON errors and their description
679 687
      *
680
-     * @return type
688
+     * @return null|string
681 689
      */
682 690
     private function setJsonErrorInPlainEnglish()
683 691
     {
Please login to merge, or discard this patch.