Completed
Branch master (f9052b)
by Michael
02:32
created
htdocs/modules/extgallery/class/catHandler.php 1 patch
Doc Comments   +9 added lines, -8 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * @param $db
80
-     * @param $type
80
+     * @param string $type
81 81
      */
82 82
     public function __construct(XoopsDatabase $db, $type)
83 83
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * @param $data
111 111
      *
112
-     * @return bool
112
+     * @return false|null
113 113
      */
114 114
     public function modifyCat($data)
115 115
     {
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
     /**
237 237
      * @param ExtgalleryCat $cat
238 238
      *
239
-     * @return mixed
239
+     * @return integer
240 240
      */
241 241
     public function nbPhoto(&$cat)
242 242
     {
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
 
315 315
     /**
316 316
      * @param        $name
317
-     * @param        $selectMode
317
+     * @param        string $selectMode
318 318
      * @param bool   $addEmpty
319 319
      * @param int    $selected
320 320
      * @param string $extra
@@ -368,10 +368,10 @@  discard block
 block discarded – undo
368 368
      * @param array $cats
369 369
      * @param string $name
370 370
      * @param string $selectMode
371
-     * @param $addEmpty
372
-     * @param $selected
373
-     * @param $extra
374
-     * @param $displayWeight
371
+     * @param boolean $addEmpty
372
+     * @param integer $selected
373
+     * @param string $extra
374
+     * @param boolean $displayWeight
375 375
      *
376 376
      * @return string
377 377
      */
@@ -570,6 +570,7 @@  discard block
 block discarded – undo
570 570
      * @param int   $id    The ID of the current node to process
571 571
      * @param int   $level The nlevel to assign to the current node
572 572
      * @param int   &$n    A reference to the running tally for the n-value
573
+     * @param integer $n
573 574
      */
574 575
     public function _generateTreeData(&$arr, $id, $level, &$n)
575 576
     {
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/photoHandler.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * @param $db
94
-     * @param $type
94
+     * @param string $type
95 95
      */
96 96
     public function __construct(XoopsDatabase $db, $type)
97 97
     {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     }
174 174
 
175 175
     /**
176
-     * @param $cat
176
+     * @param ExtgalleryCat $cat
177 177
      *
178 178
      * @return int
179 179
      */
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
     }
529 529
 
530 530
     /**
531
-     * @param $photoName
531
+     * @param string $photoName
532 532
      */
533 533
     public function _largePhotoTreatment($photoName)
534 534
     {
@@ -569,7 +569,7 @@  discard block
 block discarded – undo
569 569
     }
570 570
 
571 571
     /**
572
-     * @param             $photoName
572
+     * @param             string $photoName
573 573
      * @param null|string $filePath
574 574
      * @param null        $mediumFilePath
575 575
      */
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
     }
654 654
 
655 655
     /**
656
-     * @param $photoName
656
+     * @param string $photoName
657 657
      *
658 658
      * @return array
659 659
      */
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
     }
684 684
 
685 685
     /**
686
-     * @param $photoName
686
+     * @param string $photoName
687 687
      *
688 688
      * @return string
689 689
      */
@@ -732,7 +732,7 @@  discard block
 block discarded – undo
732 732
     }
733 733
 
734 734
     /**
735
-     * @param $photoName
735
+     * @param string $photoName
736 736
      *
737 737
      * @return float
738 738
      */
@@ -896,14 +896,14 @@  discard block
 block discarded – undo
896 896
     }
897 897
 
898 898
     /**
899
-     * @param        $catId
899
+     * @param        integer $catId
900 900
      * @param        $dirtyPhotoName
901 901
      * @param string $photoTitle
902 902
      * @param string $photoDesc
903 903
      * @param string $photoExtra
904 904
      * @param string $photoTag
905 905
      *
906
-     * @return mixed
906
+     * @return boolean
907 907
      */
908 908
     public function addLocalPhoto(
909 909
         $catId,
Please login to merge, or discard this patch.