Completed
Push — master ( f87886...b3b862 )
by Michael
02:18
created
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.
htdocs/modules/extgallery/class/pear/Image/Transform/Driver/GD.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     /**
271 271
      * Horizontal mirroring
272 272
      *
273
-     * @return mixed TRUE or PEAR_Error object on error
273
+     * @return boolean TRUE or PEAR_Error object on error
274 274
      * @access public
275 275
      * @see flip()
276 276
      **/
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     /**
290 290
      * Vertical mirroring
291 291
      *
292
-     * @return TRUE or PEAR Error object on error
292
+     * @return boolean or PEAR Error object on error
293 293
      * @access public
294 294
      * @see mirror()
295 295
      **/
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
      * Helper method to save to a file or output the image
436 436
      *
437 437
      * @param string $filename the name of the file to write to (blank to output)
438
-     * @param string $types    define the output format, default
438
+     * @param string $type    define the output format, default
439 439
      *                          is the current used format
440 440
      * @param int    $quality  output DPI, default is 75
441 441
      *
Please login to merge, or discard this patch.