Completed
Push — miscsec ( 26cc53 )
by Richard
10:25
created
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.
htdocs/xoops_lib/Xoops/Core/Kernel/XoopsObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -453,7 +453,7 @@
 block discarded – undo
453 453
     /**
454 454
      * create a clone(copy) of the current object
455 455
      *
456
-     * @return object clone
456
+     * @return XoopsObject clone
457 457
      */
458 458
     public function xoopsClone()
459 459
     {
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/Logger.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
     /**
244 244
      * add a PSR-3 compatible logger to the chain
245 245
      *
246
-     * @param object $logger a PSR-3 compatible logger object
246
+     * @param \DebugbarLogger $logger a PSR-3 compatible logger object
247 247
      *
248 248
      * @return void
249 249
      */
Please login to merge, or discard this patch.
htdocs/xoops_lib/Xoops/Core/Request.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      *                        information see Xoops\Core\FilterInput::clean().
81 81
      * @param int    $mask    Filter mask for the variable
82 82
      *
83
-     * @return mixed  Requested variable
83
+     * @return string|null  Requested variable
84 84
      */
85 85
     public static function getVar($name, $default = null, $hash = 'default', $type = 'none', $mask = 0)
86 86
     {
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * @param int    $default Default value if the variable does not exist
143 143
      * @param string $hash    Where the var should come from (POST, GET, FILES, COOKIE, METHOD)
144 144
      *
145
-     * @return int    Requested variable
145
+     * @return string|null    Requested variable
146 146
      */
147 147
     public static function getInt($name, $default = 0, $hash = 'default')
148 148
     {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
      * @param float  $default Default value if the variable does not exist
161 161
      * @param string $hash    Where the var should come from (POST, GET, FILES, COOKIE, METHOD)
162 162
      *
163
-     * @return float  Requested variable
163
+     * @return string|null  Requested variable
164 164
      */
165 165
     public static function getFloat($name, $default = 0.0, $hash = 'default')
166 166
     {
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
      * @param bool   $default Default value if the variable does not exist
179 179
      * @param string $hash    Where the var should come from (POST, GET, FILES, COOKIE, METHOD)
180 180
      *
181
-     * @return bool Requested variable
181
+     * @return string|null Requested variable
182 182
      */
183 183
     public static function getBool($name, $default = false, $hash = 'default')
184 184
     {
@@ -248,7 +248,7 @@  discard block
 block discarded – undo
248 248
      * @param mixed  $default Default value if the variable does not exist
249 249
      * @param string $hash    Where the var should come from (POST, GET, FILES, COOKIE, METHOD)
250 250
      *
251
-     * @return array
251
+     * @return string|null
252 252
      */
253 253
     public static function getArray($name, $default = array(), $hash = 'default')
254 254
     {
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.