Completed
Push — master ( 3d1dbb...b42b3e )
by Michael
03:10
created
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.
htdocs/modules/extgallery/class/utility.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,8 +137,8 @@
 block discarded – undo
137 137
     }
138 138
 
139 139
     /**
140
-     * @param $option
141
-     * @return bool|mixed
140
+     * @param string $option
141
+     * @return string
142 142
      */
143 143
     public static function getModuleOption($option)
144 144
     {
Please login to merge, or discard this patch.
extgallery/assets/js/ml-slider/inc/slider/metaslider.responsive.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * and if so, the name to use for the setting in the Javascript parameters
54 54
      *
55 55
      * @param $param
56
-     * @return false or parameter name (parameter supported)
56
+     * @return string|false or parameter name (parameter supported)
57 57
      */
58 58
     protected function get_param($param)
59 59
     {
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/grouppermform.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
     /**
118 118
      * ExtgalleryGroupFormCheckBox constructor.
119 119
      * @param      $caption
120
-     * @param      $name
120
+     * @param      string $name
121 121
      * @param      $groupId
122 122
      * @param null $values
123 123
      */
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/NestedTree.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -361,6 +361,7 @@
 block discarded – undo
361 361
      * @param int   $id    The ID of the current node to process
362 362
      * @param int   $level The nlevel to assign to the current node
363 363
      * @param int   &$n    A reference to the running tally for the n-value
364
+     * @param integer $n
364 365
      */
365 366
     public function _generateTreeData(& $arr, $id, $level, & $n)
366 367
     {
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/pcltrace.lib.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -146,9 +146,9 @@  discard block
 block discarded – undo
146 146
     //   $p_level : Level of trace required.
147 147
     // --------------------------------------------------------------------------------
148 148
     /**
149
-     * @param        $p_file
150
-     * @param        $p_line
151
-     * @param        $p_name
149
+     * @param        string $p_file
150
+     * @param        integer $p_line
151
+     * @param        string $p_name
152 152
      * @param string $p_param
153 153
      * @param string $p_message
154 154
      */
@@ -213,8 +213,8 @@  discard block
 block discarded – undo
213 213
     //   $p_level : Level of trace required.
214 214
     // --------------------------------------------------------------------------------
215 215
     /**
216
-     * @param        $p_file
217
-     * @param        $p_line
216
+     * @param        string $p_file
217
+     * @param        integer $p_line
218 218
      * @param int    $p_return
219 219
      * @param string $p_message
220 220
      */
@@ -279,9 +279,9 @@  discard block
 block discarded – undo
279 279
     // Parameters :
280 280
     // --------------------------------------------------------------------------------
281 281
     /**
282
-     * @param        $p_file
283
-     * @param        $p_line
284
-     * @param        $p_level
282
+     * @param        string $p_file
283
+     * @param        integer $p_line
284
+     * @param        integer $p_level
285 285
      * @param string $p_message
286 286
      */
287 287
     function TrFctMessage($p_file, $p_line, $p_level, $p_message = '')
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/pear/Console/Getopt.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
      * @param  string  $shortOptions the short options definition, e.g. "ab:c::"
473 473
      * @param  array   $longOptions  the long options definition, e.g. array("foo", "bar=")
474 474
      * @param  string  $ambiguity    directive to handle option names ambiguity
475
-     * @param  numeric $version      the getopt version: 1 or 2
475
+     * @param  integer $version      the getopt version: 1 or 2
476 476
      * @return array   the parsed options, their arguments and parameters
477 477
      * @access public
478 478
      */
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/pear/Console/Help.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -187,10 +187,7 @@
 block discarded – undo
187 187
     /**
188 188
      * Creates the usage help text section
189 189
      *
190
-     * @param  array  $usages        the usage descriptions
191 190
      * @param  string $command       the command name
192
-     * @param  array  $optionsConfig the options descriptions
193
-     * @param  array  $paramsConfig  the parameters descriptions
194 191
      * @return array  the usage help text section
195 192
      * @access public
196 193
      */
Please login to merge, or discard this patch.
htdocs/modules/extgallery/class/pear/Image/Transform.php 1 patch
Doc Comments   +13 added lines, -10 removed lines patch added patch discarded remove patch
@@ -290,11 +290,11 @@  discard block
 block discarded – undo
290 290
      *
291 291
      * If either is 0 it will keep the original size for that dimension
292 292
      *
293
-     * @param mixed $new_x   (0, number, percentage 10% or 0.1)
294
-     * @param mixed $new_y   (0, number, percentage 10% or 0.1)
293
+     * @param integer $new_x   (0, number, percentage 10% or 0.1)
294
+     * @param integer $new_y   (0, number, percentage 10% or 0.1)
295 295
      * @param array $options Options
296 296
      *
297
-     * @return mixed TRUE or PEAR_Error object on error
297
+     * @return PEAR_Error TRUE or PEAR_Error object on error
298 298
      * @access public
299 299
      */
300 300
     function resize($new_x = 0, $new_y = 0, $options = null)
@@ -653,7 +653,7 @@  discard block
 block discarded – undo
653 653
     /**
654 654
      * Returns the matching IMAGETYPE_* constant for a given image type
655 655
      *
656
-     * @param mixed $type String (GIF, JPG,...)
656
+     * @param string $type String (GIF, JPG,...)
657 657
      *
658 658
      * @return mixed string or integer or input on error
659 659
      * @access protected
@@ -706,10 +706,10 @@  discard block
 block discarded – undo
706 706
      *
707 707
      * If either parameter is 0 it will be scaled proportionally
708 708
      *
709
-     * @param mixed $new_size (0, number, percentage 10% or 0.1)
709
+     * @param integer $new_size (0, number, percentage 10% or 0.1)
710 710
      * @param int   $old_size
711 711
      *
712
-     * @return mixed Integer or PEAR_error
712
+     * @return integer Integer or PEAR_error
713 713
      * @access protected
714 714
      */
715 715
     function _parse_size($new_size, $old_size)
@@ -1031,7 +1031,7 @@  discard block
 block discarded – undo
1031 1031
      * @param string $type Image type (GIF, PNG, JPEG...)
1032 1032
      * @param string $mode 'r' for read, 'w' for write, 'rw' for both
1033 1033
      *
1034
-     * @return TRUE if type (and mode) is supported FALSE otherwise
1034
+     * @return boolean if type (and mode) is supported FALSE otherwise
1035 1035
      * @access public
1036 1036
      */
1037 1037
     function supportsType($type, $mode = 'rw')
@@ -1078,7 +1078,7 @@  discard block
 block discarded – undo
1078 1078
      *
1079 1079
      * @param string $colorhex A color following the #FFFFFF format
1080 1080
      *
1081
-     * @return array 3-element array with 0-255 values
1081
+     * @return resource 3-element array with 0-255 values
1082 1082
      * @access public
1083 1083
      *
1084 1084
      * @see rgb2colorname
@@ -1092,6 +1092,9 @@  discard block
 block discarded – undo
1092 1092
         return array($r, $g, $b, 'type' => 'RGB');
1093 1093
     }
1094 1094
 
1095
+    /**
1096
+     * @param string $type
1097
+     */
1095 1098
     function _send_display_headers($type)
1096 1099
     {
1097 1100
         // Find the filename of the original image:
@@ -1106,7 +1109,7 @@  discard block
 block discarded – undo
1106 1109
      *
1107 1110
      * @param array $color 3-element array with 0-255 values
1108 1111
      *
1109
-     * @return mixed A color following the #FFFFFF format or FALSE
1112
+     * @return false|string A color following the #FFFFFF format or FALSE
1110 1113
      *               if the array couldn't be converted
1111 1114
      * @access public
1112 1115
      *
@@ -1288,7 +1291,7 @@  discard block
 block discarded – undo
1288 1291
      *
1289 1292
      * @param string $colorOf one of 'canvasColor', 'pencilColor', 'fontColor'
1290 1293
      * @param array  $options configuration options
1291
-     * @param array  $default default value to return if color not found
1294
+     * @param integer[]  $default default value to return if color not found
1292 1295
      *
1293 1296
      * @return array an RGB color array
1294 1297
      * @access protected
Please login to merge, or discard this patch.