Completed
Push — master ( e20924...7be879 )
by Richard
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/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/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.
htdocs/xoops_lib/Xoops/Core/Locale/Time.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
      *                                               'long' (eg 'h:mm:ss a z' - '11:42:13 AM GMT+2:00'),
175 175
      *                                               'medium' (eg 'h:mm:ss a' - '11:42:13 AM') or
176 176
      *                                               'short' (eg 'h:mm a' - '11:42 AM')
177
-     * @param string|\DateTimeZone    $toTimezone The timezone to set; leave empty to use the default timezone
177
+     * @param \DateTimeZone    $toTimezone The timezone to set; leave empty to use the default timezone
178 178
      *                                             (or the timezone associated to $value if it's already a \DateTime)
179 179
      * @param string                  $locale     The locale to use. If empty we'll use the default
180 180
      *
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Service/Provider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
     /**
113 113
      * getRegistered - access list of registered providers
114 114
      *
115
-     * @return array of registered providers managed by this instance
115
+     * @return AbstractContract[] of registered providers managed by this instance
116 116
      */
117 117
     public function &getRegistered()
118 118
     {
Please login to merge, or discard this patch.