Completed
Pull Request — master (#586)
by Richard
24:04
created
htdocs/kernel/module.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -431,7 +431,7 @@
 block discarded – undo
431 431
     }
432 432
 
433 433
     /**
434
-     * @param $dirname
434
+     * @param string $dirname
435 435
      *
436 436
      * @return mixed
437 437
      */
Please login to merge, or discard this patch.
htdocs/kernel/notification.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -412,8 +412,8 @@  discard block
 block discarded – undo
412 412
     // Also, should we have get by module, get by category, etc...??
413 413
     /**
414 414
      * @param $module_id
415
-     * @param $category
416
-     * @param $item_id
415
+     * @param string $category
416
+     * @param integer $item_id
417 417
      * @param $event
418 418
      * @param $user_id
419 419
      *
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
      * @param int    $user_id   ID of the user (default to current user)
477 477
      *                          *
478 478
      *
479
-     * @return bool
479
+     * @return false|null
480 480
      */
481 481
     public function subscribe($category, $item_id, $events, $mode = null, $module_id = null, $user_id = null)
482 482
     {
@@ -632,7 +632,7 @@  discard block
 block discarded – undo
632 632
      * @param  array $user_list
633 633
      * @param  int   $module_id
634 634
      * @param  int   $omit_user_id
635
-     * @return mixed
635
+     * @return false|null
636 636
      */
637 637
     public function triggerEvent($category, $item_id, $event, $extra_tags = array(), $user_list = array(), $module_id = null, $omit_user_id = null)
638 638
     {
Please login to merge, or discard this patch.
htdocs/kernel/session.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -256,7 +256,7 @@
 block discarded – undo
256 256
      *
257 257
      * @param  string $sess_id session ID
258 258
      * @param  int    $expire  Time in seconds until a session expires
259
-     * @return bool
259
+     * @return boolean|null
260 260
      **/
261 261
     public function update_cookie($sess_id = null, $expire = null)
262 262
     {
Please login to merge, or discard this patch.
htdocs/kernel/tplset.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      *
120 120
      * @see XoopsTplset
121 121
      * @param  bool $isNew is the new tplsets new??
122
-     * @return object XoopsTplset reference to the new tplsets
122
+     * @return XoopsTplset XoopsTplset reference to the new tplsets
123 123
      **/
124 124
     public function create($isNew = true)
125 125
     {
Please login to merge, or discard this patch.
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/language/english/locale.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * Number Formats
49 49
      *
50 50
      * @param  unknown_type $number
51
-     * @return unknown
51
+     * @return string
52 52
      */
53 53
     public function number_format($number)
54 54
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @param  string $format
62 62
      * @param  string $number
63
-     * @return money  format
63
+     * @return string  format
64 64
      */
65 65
     public function money_format($format, $number)
66 66
     {
Please login to merge, or discard this patch.
htdocs/modules/pm/class/message.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
 class PmMessageHandler extends XoopsPersistableObjectHandler
56 56
 {
57 57
     /**
58
-     * @param null|XoopsDatabase $db
58
+     * @param XoopsDatabase $db
59 59
      */
60 60
     public function __construct(XoopsDatabase $db)
61 61
     {
Please login to merge, or discard this patch.
htdocs/modules/profile/class/field.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
      * @param XoopsUser      $user    {@link XoopsUser} object to get the value of
239 239
      * @param profileProfile $profile object to get the value of
240 240
      *
241
-     * @return mixed
241
+     * @return string
242 242
      **/
243 243
     public function getOutputValue(&$user, $profile)
244 244
     {
@@ -433,7 +433,7 @@  discard block
 block discarded – undo
433 433
 class ProfileFieldHandler extends XoopsPersistableObjectHandler
434 434
 {
435 435
     /**
436
-     * @param null|XoopsDatabase $db
436
+     * @param XoopsDatabase $db
437 437
      */
438 438
     public function __construct(XoopsDatabase $db)
439 439
     {
@@ -644,7 +644,7 @@  discard block
 block discarded – undo
644 644
     /**
645 645
      * Get array of standard variable names (user table)
646 646
      *
647
-     * @return array
647
+     * @return string[]
648 648
      */
649 649
     public function getUserVars()
650 650
     {
Please login to merge, or discard this patch.
htdocs/modules/profile/class/profile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     public $_fields = array();
68 68
 
69 69
     /**
70
-     * @param null|XoopsDatabase $db
70
+     * @param XoopsDatabase $db
71 71
      */
72 72
     public function __construct(XoopsDatabase $db)
73 73
     {
Please login to merge, or discard this patch.