Completed
Branch feature/Undefined (a0c40a)
by Michael
13:53
created
htdocs/kernel/user.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -592,7 +592,7 @@
 block discarded – undo
592 592
 class XoopsUserHandler extends XoopsPersistableObjectHandler
593 593
 {
594 594
     /**
595
-     * @param XoopsDatabase|null| $db
595
+     * @param XoopsDatabase $db
596 596
      */
597 597
     public function __construct(XoopsDatabase $db)
598 598
     {
Please login to merge, or discard this patch.
htdocs/class/xoopsblock.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
     /**
293 293
      * XoopsBlock::getOptions()
294 294
      *
295
-     * @return bool|string
295
+     * @return string
296 296
      */
297 297
     public function getOptions()
298 298
     {
@@ -335,7 +335,7 @@  discard block
 block discarded – undo
335 335
      *                         4: centerblock - right
336 336
      *                         5: centerblock - center
337 337
      *                         6: centerblock - left, right, center
338
-     * @param        $visible  0: not visible 1: visible
338
+     * @param        integer $visible  0: not visible 1: visible
339 339
      * @param string $orderby  order of the blocks
340 340
      * @param int    $isactive
341 341
      * @returns array of block objects
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
      * XoopsBlock::getByModule()
465 465
      *
466 466
      * @param  mixed $moduleid
467
-     * @param  mixed $asobject
467
+     * @param  boolean $asobject
468 468
      * @return array
469 469
      */
470 470
     public static function getByModule($moduleid, $asobject = true)
@@ -494,8 +494,8 @@  discard block
 block discarded – undo
494 494
      *
495 495
      * @param  mixed   $groupid
496 496
      * @param  integer $module_id
497
-     * @param  mixed   $toponlyblock
498
-     * @param  mixed   $visible
497
+     * @param  boolean   $toponlyblock
498
+     * @param  integer   $visible
499 499
      * @param  string  $orderby
500 500
      * @param  integer $isactive
501 501
      * @return array
Please login to merge, or discard this patch.
htdocs/include/functions.php 1 patch
Doc Comments   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 /**
21 21
  * xoops_getHandler()
22 22
  *
23
- * @param mixed $name
23
+ * @param string $name
24 24
  * @param mixed $optional
25 25
  *
26 26
  * @return XoopsObjectHandler|false
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 /**
54 54
  * xoops_getModuleHandler()
55 55
  *
56
- * @param mixed $name
56
+ * @param string $name
57 57
  * @param mixed $module_dir
58 58
  * @param mixed $optional
59 59
  * @return XoopsObjectHandler|false
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
 /**
303 303
  * xoops_error
304 304
  *
305
- * @param mixed  $msg
305
+ * @param string  $msg
306 306
  * @param string $title
307 307
  * @return void
308 308
  */
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
  *
397 397
  * @param mixed  $time
398 398
  * @param string $timeoffset
399
- * @return int
399
+ * @return double
400 400
  */
401 401
 function xoops_getUserTimestamp($time, $timeoffset = '')
402 402
 {
@@ -592,7 +592,7 @@  discard block
 block discarded – undo
592 592
  * formatURL()
593 593
  *
594 594
  * @param mixed $url
595
- * @return mixed|string
595
+ * @return string
596 596
  */
597 597
 function formatURL($url)
598 598
 {
@@ -673,7 +673,7 @@  discard block
 block discarded – undo
673 673
 
674 674
 /**
675 675
  * Function to redirect a user to certain pages
676
- * @param        $url
676
+ * @param        string $url
677 677
  * @param int    $time
678 678
  * @param string $message
679 679
  * @param bool   $addredirect
@@ -757,7 +757,7 @@  discard block
 block discarded – undo
757 757
 /**
758 758
  * xoops_getenv()
759 759
  *
760
- * @param mixed $key
760
+ * @param string $key
761 761
  * @return string
762 762
  */
763 763
 function xoops_getenv($key)
@@ -844,7 +844,7 @@  discard block
 block discarded – undo
844 844
  * xoops_getrank()
845 845
  *
846 846
  * @param integer $rank_id
847
- * @param mixed   $posts
847
+ * @param integer   $posts
848 848
  * @return array<string,string|integer>|string
849 849
  */
850 850
 function xoops_getrank($rank_id = 0, $posts = 0)
@@ -1051,7 +1051,7 @@  discard block
 block discarded – undo
1051 1051
 /**
1052 1052
  * xoops_getOption()
1053 1053
  *
1054
- * @param mixed $option
1054
+ * @param string $option
1055 1055
  * @internal param string $type
1056 1056
  * @deprecated
1057 1057
  * @return string
@@ -1072,7 +1072,7 @@  discard block
 block discarded – undo
1072 1072
 /**
1073 1073
  * xoops_getConfigOption()
1074 1074
  *
1075
- * @param mixed  $option
1075
+ * @param string  $option
1076 1076
  * @param array|string $type
1077 1077
  * @internal param string $dirname
1078 1078
  * @deprecated
@@ -1105,7 +1105,7 @@  discard block
 block discarded – undo
1105 1105
 /**
1106 1106
  * xoops_setConfigOption()
1107 1107
  *
1108
- * @param mixed $option
1108
+ * @param string $option
1109 1109
  * @param null  $new
1110 1110
  * @return void
1111 1111
 @deprecated
@@ -1125,7 +1125,7 @@  discard block
 block discarded – undo
1125 1125
  *
1126 1126
  * Method for module developers getting a module config item. This could be from any module requested.
1127 1127
  *
1128
- * @param mixed  $option
1128
+ * @param string  $option
1129 1129
  * @param string $dirname
1130 1130
  * @return bool
1131 1131
 @deprecated
Please login to merge, or discard this patch.