Completed
Branch master (b5dddf)
by Richard
15:43
created
htdocs/modules/profile/class/field.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@  discard block
 block discarded – undo
222 222
      * @param XoopsUser      $user    {@link XoopsUser} object to get the value of
223 223
      * @param profileProfile $profile object to get the value of
224 224
      *
225
-     * @return mixed
225
+     * @return string
226 226
      **/
227 227
     public function getOutputValue(&$user, $profile)
228 228
     {
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 class ProfileFieldHandler extends XoopsPersistableObjectHandler
423 423
 {
424 424
     /**
425
-     * @param null|XoopsDatabase $db
425
+     * @param XoopsDatabase $db
426 426
      */
427 427
     public function __construct(XoopsDatabase $db)
428 428
     {
@@ -640,7 +640,7 @@  discard block
 block discarded – undo
640 640
     /**
641 641
      * Get array of standard variable names (user table)
642 642
      *
643
-     * @return array
643
+     * @return string[]
644 644
      */
645 645
     public function getUserVars()
646 646
     {
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
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     public $_fields = array();
67 67
 
68 68
     /**
69
-     * @param null|XoopsDatabase $db
69
+     * @param XoopsDatabase $db
70 70
      */
71 71
     public function __construct(XoopsDatabase $db)
72 72
     {
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
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 class ProfileVisibilityHandler extends XoopsPersistableObjectHandler
42 42
 {
43 43
     /**
44
-     * @param null|XoopsDatabase $db
44
+     * @param XoopsDatabase $db
45 45
      */
46 46
     public function __construct(XoopsDatabase $db)
47 47
     {
Please login to merge, or discard this patch.
htdocs/modules/profile/include/forms.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
  * @param ProfileField $field  {@link ProfileField} object to get edit form for
26 26
  * @param mixed        $action URL to submit to - or false for $_SERVER['REQUEST_URI']
27 27
  *
28
- * @return object
28
+ * @return XoopsThemeForm
29 29
  */
30 30
 function profile_getFieldForm(ProfileField $field, $action = false)
31 31
 {
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
  * @param int       $step Which step we are at
278 278
  *
279 279
  * @internal param \profileRegstep $next_step
280
- * @return object
280
+ * @return XoopsThemeForm
281 281
  */
282 282
 function profile_getRegisterForm(XoopsUser $user, $profile, $step = null)
283 283
 {
@@ -384,10 +384,10 @@  discard block
 block discarded – undo
384 384
  * Get {@link XoopsThemeForm} for editing a user
385 385
  *
386 386
  * @param XoopsUser           $user {@link XoopsUser} to edit
387
- * @param ProfileProfile|XoopsObject|null $profile
387
+ * @param null|ProfileProfile $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
 {
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
  * @param ProfileRegstep|null $step {@link ProfileRegstep} to edit
527 527
  * @param bool                $action
528 528
  *
529
- * @return object
529
+ * @return XoopsThemeForm
530 530
  */
531 531
 function profile_getStepForm(ProfileRegstep $step = null, $action = false)
532 532
 {
Please login to merge, or discard this patch.
htdocs/modules/system/admin/modulesadmin/modulesadmin.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -521,7 +521,7 @@  discard block
 block discarded – undo
521 521
 }
522 522
 
523 523
 /**
524
- * @param        $dirname
524
+ * @param        string $dirname
525 525
  * @param        $template
526 526
  * @param string $type
527 527
  *
@@ -1405,9 +1405,9 @@  discard block
 block discarded – undo
1405 1405
 
1406 1406
 /**
1407 1407
  * @param $module
1408
- * @param $title
1408
+ * @param string $title
1409 1409
  *
1410
- * @return array
1410
+ * @return string[]
1411 1411
  */
1412 1412
 function xoops_module_log_header($module, $title)
1413 1413
 {
@@ -1433,7 +1433,7 @@  discard block
 block discarded – undo
1433 1433
  *                              2 = smarty compile
1434 1434
  *                              3 = xoops cache
1435 1435
  *                              or null to clear all
1436
- * @return bool
1436
+ * @return boolean|null
1437 1437
  */
1438 1438
 function xoops_module_delayed_clean_cache($cacheList = null)
1439 1439
 {
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
@@ -303,7 +303,7 @@
 block discarded – undo
303 303
 class SystemBlockHandler extends XoopsPersistableObjectHandler
304 304
 {
305 305
     /**
306
-     * @param null|XoopsDatabase $db
306
+     * @param XoopsDatabase $db
307 307
      */
308 308
     public function __construct(XoopsDatabase $db)
309 309
     {
Please login to merge, or discard this patch.
htdocs/modules/system/class/fineuploadhandler.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -62,6 +62,7 @@  discard block
 block discarded – undo
62 62
 
63 63
     /**
64 64
      * Get the original filename
65
+     * @return string
65 66
      */
66 67
     public function getName()
67 68
     {
@@ -269,6 +270,9 @@  discard block
 block discarded – undo
269 270
         }
270 271
     }
271 272
 
273
+    /**
274
+     * @param string $mimeType
275
+     */
272 276
     protected function storeUploadedFile($target, $mimeType, $uuid)
273 277
     {
274 278
         if (!is_dir(dirname($target))) {
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
@@ -198,7 +198,7 @@
 block discarded – undo
198 198
 class SystemGroupHandler extends XoopsPersistableObjectHandler
199 199
 {
200 200
     /**
201
-     * @param null|XoopsDatabase $db
201
+     * @param XoopsDatabase $db
202 202
      */
203 203
     public function __construct(XoopsDatabase $db)
204 204
     {
Please login to merge, or discard this patch.