Test Failed
Push — master ( ce0b35...038e9c )
by Michael
12:03
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/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.
htdocs/modules/profile/class/visibility.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 class ProfileVisibilityHandler extends XoopsPersistableObjectHandler
43 43
 {
44 44
     /**
45
-     * @param null|XoopsDatabase $db
45
+     * @param XoopsDatabase $db
46 46
      */
47 47
     public function __construct(XoopsDatabase $db)
48 48
     {
Please login to merge, or discard this patch.
htdocs/modules/profile/include/install.php 1 patch
Doc Comments   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -101,17 +101,17 @@  discard block
 block discarded – undo
101 101
 
102 102
 // canedit: 0 - no; 1 - admin; 2 - admin & owner
103 103
 /**
104
- * @param      $name
105
- * @param      $title
106
- * @param      $description
107
- * @param      $category
108
- * @param      $type
109
- * @param      $valuetype
110
- * @param      $weight
111
- * @param      $canedit
104
+ * @param      string $name
105
+ * @param      string $title
106
+ * @param      string $description
107
+ * @param      integer $category
108
+ * @param      string $type
109
+ * @param      integer $valuetype
110
+ * @param      integer $weight
111
+ * @param      integer $canedit
112 112
  * @param      $options
113
- * @param      $step_id
114
- * @param      $length
113
+ * @param      integer $step_id
114
+ * @param      integer $length
115 115
  * @param bool $visible
116 116
  *
117 117
  * @return bool
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
  * @param $field_id
184 184
  * @param $module_id
185 185
  * @param $canedit
186
- * @param $visible
186
+ * @param boolean $visible
187 187
  */
188 188
 function profile_install_setPermissions($field_id, $module_id, $canedit, $visible)
189 189
 {
@@ -199,8 +199,8 @@  discard block
 block discarded – undo
199 199
 }
200 200
 
201 201
 /**
202
- * @param $name
203
- * @param $weight
202
+ * @param string $name
203
+ * @param integer $weight
204 204
  */
205 205
 function profile_install_addCategory($name, $weight)
206 206
 {
@@ -208,10 +208,10 @@  discard block
 block discarded – undo
208 208
 }
209 209
 
210 210
 /**
211
- * @param $name
212
- * @param $desc
213
- * @param $order
214
- * @param $save
211
+ * @param string $name
212
+ * @param string $desc
213
+ * @param integer $order
214
+ * @param integer $save
215 215
  */
216 216
 function profile_install_addStep($name, $desc, $order, $save)
217 217
 {
Please login to merge, or discard this patch.
htdocs/modules/system/class/block.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -300,7 +300,7 @@
 block discarded – undo
300 300
 class SystemBlockHandler extends XoopsPersistableObjectHandler
301 301
 {
302 302
     /**
303
-     * @param null|XoopsDatabase $db
303
+     * @param XoopsDatabase $db
304 304
      */
305 305
     public function __construct(XoopsDatabase $db)
306 306
     {
Please login to merge, or discard this patch.
htdocs/modules/system/class/group.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
 class SystemGroupHandler extends XoopsPersistableObjectHandler
195 195
 {
196 196
     /**
197
-     * @param null|XoopsDatabase $db
197
+     * @param XoopsDatabase $db
198 198
      */
199 199
     public function __construct(XoopsDatabase $db)
200 200
     {
Please login to merge, or discard this patch.