Completed
Push — master ( e0f8ea...5ea3eb )
by Richard
21s queued 11s
created
htdocs/modules/xlanguage/include/functions.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  */
18 18
 
19 19
 /**
20
- * @param string|array $value
20
+ * @param string $value
21 21
  * @param string       $out_charset
22 22
  * @param string       $in_charset
23 23
  *
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
  * @param string  $str     string to analyze
70 70
  * @param integer $envType type of the PHP environment variable which value is $str
71 71
  *
72
- * @return int|string
72
+ * @return string
73 73
  */
74 74
 function xlanguage_lang_detect($str = '', $envType = 0)
75 75
 {
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 /**
156 156
  * @param string $s
157 157
  *
158
- * @return mixed
158
+ * @return string
159 159
  */
160 160
 function xlanguage_ml($s)
161 161
 {
Please login to merge, or discard this patch.
htdocs/modules/xlanguage/include/install.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,9 +75,9 @@
 block discarded – undo
75 75
 }
76 76
 
77 77
 /**
78
- * @param $folder_in
79
- * @param $source_file
80
- * @param $folder_out
78
+ * @param string $folder_in
79
+ * @param string $source_file
80
+ * @param string $folder_out
81 81
  *
82 82
  * @return bool
83 83
  */
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Auth/Provisioning.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
      * setVarsMapping
141 141
      *
142 142
      * @param object $object user object
143
-     * @param array  $data   data
143
+     * @param string  $data   data
144 144
      *
145 145
      * @return void
146 146
      */
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Assets.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
     /**
324 324
      * setDebug enable debug mode, will skip filters prefixed with '?'
325 325
      *
326
-     * @return true
326
+     * @return boolean
327 327
      */
328 328
     public function setDebug()
329 329
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Cache/Legacy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Garbage collection
57 57
      *
58
-     * @return boolean true on success
58
+     * @return boolean|null true on success
59 59
      */
60 60
     public static function gc()
61 61
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      *
70 70
      * @param string $key      Identifier for the data
71 71
      * @param mixed  $value    Data to be cached - anything except a resource
72
-     * @param mixed  $duration time to live in seconds
72
+     * @param integer  $duration time to live in seconds
73 73
      *
74 74
      * @return boolean True if the data was successfully cached, false on failure
75 75
      */
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/HttpRequest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -362,7 +362,7 @@
 block discarded – undo
362 362
      * Note : code modifications for XOOPS
363 363
      *
364 364
      * @param string $name    Environment variable name.
365
-     * @param mixed  $default default value
365
+     * @param string  $default default value
366 366
      *
367 367
      * @return string|boolean Environment variable setting.
368 368
      * @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#env
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Kernel/Dtype.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      *
97 97
      * @param string $name dtype name to load
98 98
      *
99
-     * @return null|DtypeAbstract
99
+     * @return DtypeAbstract
100 100
      */
101 101
     private static function loadDtype($name)
102 102
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Kernel/Dtype/DtypeMoney.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * @param string      $key    name of variable
38 38
      * @param string      $format Dtype::FORMAT_* constant indicating desired formatting
39 39
      *
40
-     * @return mixed
40
+     * @return null|Money
41 41
      */
42 42
     public function getVar(XoopsObject $obj, $key, $format)
43 43
     {
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Kernel/Handlers/XoopsConfigItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@
 block discarded – undo
257 257
     /**
258 258
      * Assign one or more configuration options
259 259
      *
260
-     * @param XoopsConfigOption|XoopsConfigOption[] $option configuration option(s)
260
+     * @param XoopsConfigOption[] $option configuration option(s)
261 261
      *
262 262
      * @return void
263 263
      */
Please login to merge, or discard this patch.