Completed
Branch master (2b2ff7)
by Michael
16:45
created
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/forms.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
  * @param ProfileField $field  {@link ProfileField} object to get edit form for
27 27
  * @param mixed        $action URL to submit to - or false for $_SERVER['REQUEST_URI']
28 28
  *
29
- * @return object
29
+ * @return XoopsThemeForm
30 30
  */
31 31
 function profile_getFieldForm(ProfileField $field, $action = false)
32 32
 {
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
  * @param int       $step Which step we are at
279 279
  *
280 280
  * @internal param \profileRegstep $next_step
281
- * @return object
281
+ * @return XoopsThemeForm
282 282
  */
283 283
 function profile_getRegisterForm(XoopsUser $user, $profile, $step = null)
284 284
 {
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
  * @param ProfileProfile|null $profile
388 388
  * @param bool                $action
389 389
  *
390
- * @return object
390
+ * @return XoopsThemeForm
391 391
  */
392 392
 function profile_getUserForm(XoopsUser $user, ProfileProfile $profile = null, $action = false)
393 393
 {
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
  * @param ProfileRegstep|null $step {@link ProfileRegstep} to edit
523 523
  * @param bool                $action
524 524
  *
525
- * @return object
525
+ * @return XoopsThemeForm
526 526
  */
527 527
 function profile_getStepForm(ProfileRegstep $step = null, $action = false)
528 528
 {
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/admin/modulesadmin/modulesadmin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -528,7 +528,7 @@  discard block
 block discarded – undo
528 528
 }
529 529
 
530 530
 /**
531
- * @param        $dirname
531
+ * @param        string $dirname
532 532
  * @param        $template
533 533
  * @param string $type
534 534
  *
@@ -1388,9 +1388,9 @@  discard block
 block discarded – undo
1388 1388
 
1389 1389
 /**
1390 1390
  * @param $module
1391
- * @param $title
1391
+ * @param string $title
1392 1392
  *
1393
- * @return array
1393
+ * @return string[]
1394 1394
  */
1395 1395
 function xoops_module_log_header($module, $title)
1396 1396
 {
Please login to merge, or discard this patch.
htdocs/modules/system/class/avatar.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
      * Create new Object
116 116
      *
117 117
      * @param  bool $isNew
118
-     * @return object
118
+     * @return SystemAvatar
119 119
      */
120 120
     public function &create($isNew = true)
121 121
     {
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.
htdocs/modules/system/class/maintenance.php 1 patch
Doc Comments   +12 added lines, -6 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      *
143 143
      * @param array tables 'list of tables'
144 144
      * @param array maintenance 'optimize, check, repair, analyze'
145
-     * @return array
145
+     * @return string
146 146
      */
147 147
     public function CheckRepairAnalyzeOptimizeQueries($tables, $maintenance)
148 148
     {
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
      *
215 215
      * @param array tables 'list of tables'
216 216
      * @param int   drop
217
-     * @return array 'ret[0] = dump, ret[1] = display result
217
+     * @return string[] 'ret[0] = dump, ret[1] = display result
218 218
      */
219 219
     public function dump_tables($tables, $drop)
220 220
     {
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
      *
244 244
      * @param array modules 'list of modules'
245 245
      * @param int   drop
246
-     * @return array 'ret[0] = dump, ret[1] = display result
246
+     * @return string[] 'ret[0] = dump, ret[1] = display result
247 247
      */
248 248
     public function dump_modules($modules, $drop)
249 249
     {
@@ -285,7 +285,10 @@  discard block
 block discarded – undo
285 285
      * @param string table
286 286
      * @param int    drop
287 287
      * @param string class
288
-     * @return array 'ret[0] = dump, ret[1] = display result
288
+     * @param string[] $ret
289
+     * @param string $table
290
+     * @param string $class
291
+     * @return string[] 'ret[0] = dump, ret[1] = display result
289 292
      */
290 293
     public function dump_table_structure($ret, $table, $drop, $class)
291 294
     {
@@ -314,7 +317,9 @@  discard block
 block discarded – undo
314 317
      *
315 318
      * @param array
316 319
      * @param string table
317
-     * @return array 'ret[0] = dump, ret[1] = display result
320
+     * @param string[] $ret
321
+     * @param string $table
322
+     * @return string[] 'ret[0] = dump, ret[1] = display result
318 323
      */
319 324
     public function dump_table_datas($ret, $table)
320 325
     {
@@ -379,7 +384,8 @@  discard block
 block discarded – undo
379 384
      * Dump Write
380 385
      *
381 386
      * @param array
382
-     * @return array 'ret[0] = dump, ret[1] = display result
387
+     * @param string[] $ret
388
+     * @return string[] 'ret[0] = dump, ret[1] = display result
383 389
      */
384 390
     public function dump_write($ret)
385 391
     {
Please login to merge, or discard this patch.