Completed
Push — master ( 24eb97...f1bb78 )
by Richard
12s
created
htdocs/xoops_lib/Xmf/Yaml.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @param integer $inline   Nesting level where you switch to inline YAML
105 105
      * @param integer $indent   Number of spaces to indent for nested nodes
106 106
      *
107
-     * @return integer|boolean number of bytes written, or false on error
107
+     * @return null|false number of bytes written, or false on error
108 108
      */
109 109
     public static function save($var, $yamlFile, $inline = 4, $indent = 4)
110 110
     {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
      * @param integer $inline Nesting level where you switch to inline YAML
131 131
      * @param integer $indent Number of spaces to indent for nested nodes
132 132
      *
133
-     * @return string|boolean YAML string or false on error
133
+     * @return string|false YAML string or false on error
134 134
      */
135 135
     public static function dumpWrapped($var, $inline = 4, $indent = 4)
136 136
     {
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      * @param integer $inline   Nesting level where you switch to inline YAML
208 208
      * @param integer $indent   Number of spaces to indent for nested nodes
209 209
      *
210
-     * @return integer|boolean number of bytes written, or false on error
210
+     * @return null|false number of bytes written, or false on error
211 211
      */
212 212
     public static function saveWrapped($var, $yamlFile, $inline = 4, $indent = 4)
213 213
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Locale/AbstractLocale.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
     /**
178 178
      *  filter to UTF-8, converts invalid $text as CP1252 and forces NFC normalization
179 179
      *
180
-     * @param mixed $text
180
+     * @param string $text
181 181
      *
182 182
      * @return string
183 183
      */
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     /**
204 204
      * XoopsLocalAbstract::trim()
205 205
      *
206
-     * @param mixed $text
206
+     * @param string $text
207 207
      *
208 208
      * @return string
209 209
      */
Please login to merge, or discard this patch.
htdocs/class/xml/saxparser.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -329,8 +329,8 @@  discard block
 block discarded – undo
329 329
     /**
330 330
      * The default tag handler method for a tag with no handler
331 331
      *
332
-     * @param $parser
333
-     * @param $tagName
332
+     * @param integer $parser
333
+     * @param string $tagName
334 334
      * @param $attributesArray
335 335
      * @return void
336 336
      */
@@ -341,8 +341,8 @@  discard block
 block discarded – undo
341 341
     /**
342 342
      * The default tag handler method for a tag with no handler
343 343
      *
344
-     * @param $parser
345
-     * @param $tagName
344
+     * @param integer $parser
345
+     * @param string $tagName
346 346
      * @return void
347 347
      */
348 348
     public function handleEndElementDefault($parser, $tagName)
@@ -354,8 +354,8 @@  discard block
 block discarded – undo
354 354
      *
355 355
      * @abstract
356 356
      *
357
-     * @param $parser
358
-     * @param $data
357
+     * @param integer $parser
358
+     * @param string $data
359 359
      * @return void
360 360
      */
361 361
     public function handleCharacterDataDefault($parser, $data)
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Theme/XoopsTheme.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -687,7 +687,7 @@
 block discarded – undo
687 687
      * Additional custom filters can be specified for the named asset if needed.
688 688
      *
689 689
      * @param string $name    the name of the reference to be added
690
-     * @param mixed  $assets  a string asset path, or an array of asset paths, may include wildcard
690
+     * @param string  $assets  a string asset path, or an array of asset paths, may include wildcard
691 691
      * @param string $filters comma separated list of filters
692 692
      *
693 693
      * @return boolean true if asset registers, false on error
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xmf/Database/Migrate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @internal intended for module developers only
82 82
      *
83
-     * @return int|false count of bytes written or false on error
83
+     * @return null|false count of bytes written or false on error
84 84
      */
85 85
     public function saveCurrentSchema()
86 86
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/SmartyBCTrait.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -479,6 +479,11 @@
 block discarded – undo
479 479
         trigger_error("Smarty error: $error_msg", $error_type);
480 480
     }
481 481
 
482
+    /**
483
+     * @param string $function
484
+     * @param string $file
485
+     * @param integer $line
486
+     */
482 487
     protected function deprecated($function, $file, $line)
483 488
     {
484 489
         $xoops = \Xoops::getInstance();
Please login to merge, or discard this patch.
htdocs/include/functions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
  * @deprecated
62 62
  * @param string $name     handler name
63 63
  * @param bool   $optional is this optional, causes error if false and no handler is available
64
- * @return XoopsObjectHandler|XoopsPersistableObjectHandler|null
64
+ * @return Xoops\Core\Kernel\XoopsObjectHandler|null
65 65
  */
66 66
 function xoops_getHandler($name, $optional = false)
67 67
 {
Please login to merge, or discard this patch.
htdocs/modules/notifications/class/helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     }
47 47
 
48 48
     /**
49
-     * @return string
49
+     * @return Xoops\Module\Helper\HelperAbstract
50 50
      */
51 51
     public static function getInstance()
52 52
     {
Please login to merge, or discard this patch.
upgrade/upd-2.0.16-to-2.0.17/index.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         return (bool)($value);
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $sql
39
+     */
37 40
     function query($sql)
38 41
     {
39 42
         $xoops = Xoops::getInstance();
Please login to merge, or discard this patch.