Completed
Pull Request — master (#582)
by Richard
12:12
created
class/libraries/vendor/smottt/wideimage/lib/WideImage/Operation/Unsharp.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@
 block discarded – undo
139 139
 		return $image;
140 140
 	}
141 141
 	
142
+	/**
143
+	 * @param double $val
144
+	 */
142 145
 	protected static function bit($val)
143 146
 	{
144 147
 		if ($val > 255) {
Please login to merge, or discard this patch.
class/libraries/vendor/smottt/wideimage/lib/WideImage/OperationFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
 {
36 36
 	protected static $cache = array();
37 37
 	
38
+	/**
39
+	 * @param string $operationName
40
+	 */
38 41
 	public static function get($operationName)
39 42
 	{
40 43
 		$lcname = strtolower($operationName);
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/WideImage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@
 block discarded – undo
355 355
 	/**
356 356
 	 * Throws exception if the handle isn't a valid GD resource
357 357
 	 * 
358
-	 * @param mixed $handle The variable to check
358
+	 * @param resource $handle The variable to check
359 359
 	 */
360 360
 	public static function assertValidImageHandle($handle)
361 361
 	{
Please login to merge, or discard this patch.
htdocs/class/xoopsload.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     //static  $configs;
28 28
 
29 29
     /**
30
-     * @param        $name
30
+     * @param        string $name
31 31
      * @param string $type
32 32
      *
33 33
      * @return bool
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * Load core class
92 92
      *
93 93
      * @access private
94
-     * @param $name
94
+     * @param string $name
95 95
      * @return bool|string
96 96
      */
97 97
     public static function loadCore($name)
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      * Load Framework class
126 126
      *
127 127
      * @access private
128
-     * @param $name
128
+     * @param string $name
129 129
      * @return bool|string
130 130
      */
131 131
     public static function loadFramework($name)
Please login to merge, or discard this patch.
htdocs/class/theme.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -723,7 +723,7 @@
 block discarded – undo
723 723
      * xos_opal_Theme::renderMetas()
724 724
      *
725 725
      * @param  mixed $type
726
-     * @param  mixed $return
726
+     * @param  boolean $return
727 727
      * @return bool|string
728 728
      */
729 729
     public function renderMetas($type = null, $return = false)
Please login to merge, or discard this patch.
htdocs/kernel/object.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1350,7 +1350,7 @@
 block discarded – undo
1350 1350
      * Load a {@link XoopsObject} object from the database
1351 1351
      *
1352 1352
      * @access protected
1353
-     * @param  mixed $id     ID
1353
+     * @param  integer|null $id     ID
1354 1354
      * @param  array $fields fields to fetch
1355 1355
      * @return XoopsObject {@link XoopsObject}
1356 1356
      */
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/firebase/php-jwt/src/JWT.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,9 +48,9 @@  discard block
 block discarded – undo
48 48
      * Decodes a JWT string into a PHP object.
49 49
      *
50 50
      * @param string        $jwt            The JWT
51
-     * @param string|array  $key            The key, or map of keys.
51
+     * @param string  $key            The key, or map of keys.
52 52
      *                                      If the algorithm used is asymmetric, this is the public key
53
-     * @param array         $allowed_algs   List of supported verification algorithms
53
+     * @param string[]         $allowed_algs   List of supported verification algorithms
54 54
      *                                      Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
55 55
      *
56 56
      * @return object The JWT's payload as a PHP object
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      * Sign a string with a given key and algorithm.
175 175
      *
176 176
      * @param string            $msg    The message to sign
177
-     * @param string|resource   $key    The secret key
177
+     * @param string   $key    The secret key
178 178
      * @param string            $alg    The signing algorithm.
179 179
      *                                  Supported algorithms are 'HS256', 'HS384', 'HS512' and 'RS256'
180 180
      *
Please login to merge, or discard this patch.
htdocs/class/libraries/vendor/xoops/xmf/src/Xmf/Yaml.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      * @param integer $inline Nesting level where you switch to inline YAML
45 45
      * @param integer $indent Number of spaces to indent for nested nodes
46 46
      *
47
-     * @return string|bool YAML string or false on error
47
+     * @return string|false YAML string or false on error
48 48
      */
49 49
     public static function dump($var, $inline = 4, $indent = 4)
50 50
     {
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
      * @param integer $inline Nesting level where you switch to inline YAML
129 129
      * @param integer $indent Number of spaces to indent for nested nodes
130 130
      *
131
-     * @return string|boolean YAML string or false on error
131
+     * @return string|false YAML string or false on error
132 132
      */
133 133
     public static function dumpWrapped($var, $inline = 4, $indent = 4)
134 134
     {
Please login to merge, or discard this patch.
htdocs/class/xml/saxparser.php 1 patch
Doc Comments   +11 added lines, -7 removed lines patch added patch discarded remove patch
@@ -72,6 +72,10 @@  discard block
 block discarded – undo
72 72
      * @param $isCaseFolding
73 73
      * @returns void
74 74
      ****************************************************************************/
75
+
76
+    /**
77
+     * @param boolean $isCaseFolding
78
+     */
75 79
     public function setCaseFolding($isCaseFolding)
76 80
     {
77 81
         assert(is_bool($isCaseFolding));
@@ -338,8 +342,8 @@  discard block
 block discarded – undo
338 342
      * The default tag handler method for a tag with no handler
339 343
      *
340 344
      * @abstract
341
-     * @param $parser
342
-     * @param $tagName
345
+     * @param integer $parser
346
+     * @param string $tagName
343 347
      * @param $attributesArray
344 348
      */
345 349
     public function handleBeginElementDefault($parser, $tagName, $attributesArray)
@@ -350,8 +354,8 @@  discard block
 block discarded – undo
350 354
      * The default tag handler method for a tag with no handler
351 355
      *
352 356
      * @abstract
353
-     * @param $parser
354
-     * @param $tagName
357
+     * @param integer $parser
358
+     * @param string $tagName
355 359
      */
356 360
     public function handleEndElementDefault($parser, $tagName)
357 361
     {
@@ -361,8 +365,8 @@  discard block
 block discarded – undo
361 365
      * The default tag handler method for a tag with no handler
362 366
      *
363 367
      * @abstract
364
-     * @param $parser
365
-     * @param $data
368
+     * @param integer $parser
369
+     * @param string $data
366 370
      */
367 371
     public function handleCharacterDataDefault($parser, $data)
368 372
     {
@@ -371,7 +375,7 @@  discard block
 block discarded – undo
371 375
     /**
372 376
      * Sets error messages
373 377
      *
374
-     * @param   $error string    an error message
378
+     * @param   string $error string    an error message
375 379
      */
376 380
     public function setErrors($error)
377 381
     {
Please login to merge, or discard this patch.