Completed
Branch master (a93e21)
by Michael
02:18
created
class/item.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      * @param int    $maxLength
119 119
      * @param string $format
120 120
      *
121
-     * @return mixed|string
121
+     * @return string
122 122
      */
123 123
     public function getTitle($maxLength = 0, $format = 'S')
124 124
     {
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      * @param string $format
240 240
      * @param string $stripTags
241 241
      *
242
-     * @return mixed|string
242
+     * @return null|string
243 243
      */
244 244
     public function getBody($maxLength = 0, $format = 'S', $stripTags = '')
245 245
     {
@@ -1307,7 +1307,7 @@  discard block
 block discarded – undo
1307 1307
 
1308 1308
     /**
1309 1309
      * @param  int           $categoryid
1310
-     * @param  string|array        $status
1310
+     * @param  string        $status
1311 1311
      * @param  string        $notNullFields
1312 1312
      * @param                $criteriaPermissions
1313 1313
      * @return CriteriaCompo
@@ -1642,7 +1642,7 @@  discard block
 block discarded – undo
1642 1642
     }
1643 1643
 
1644 1644
     /**
1645
-     * @param string|array $notNullFields
1645
+     * @param boolean|string $notNullFields
1646 1646
      * @param bool         $withAnd
1647 1647
      *
1648 1648
      * @return string
Please login to merge, or discard this patch.
class/Utility.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -65,8 +65,8 @@  discard block
 block discarded – undo
65 65
     }
66 66
 
67 67
     /**
68
-     * @param $file
69
-     * @param $folder
68
+     * @param string $file
69
+     * @param string $folder
70 70
      * @return bool
71 71
      */
72 72
     public static function copyFile($file, $folder)
@@ -438,7 +438,7 @@  discard block
 block discarded – undo
438 438
 
439 439
     /**
440 440
      * @param  string $document
441
-     * @return mixed
441
+     * @return string
442 442
      */
443 443
     public static function html2text($document)
444 444
     {
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
     }
492 492
 
493 493
     /**
494
-     * @return array
494
+     * @return string[]
495 495
      */
496 496
     public static function getAllowedImagesTypes()
497 497
     {
@@ -716,7 +716,7 @@  discard block
 block discarded – undo
716 716
     /**
717 717
      * Check is current user is author of a given article
718 718
      *
719
-     * @param  XoopsObject $itemObj
719
+     * @param  \PublisherItem $itemObj
720 720
      * @return bool
721 721
      */
722 722
     public static function userIsAuthor($itemObj)
@@ -727,7 +727,7 @@  discard block
 block discarded – undo
727 727
     /**
728 728
      * Check is current user is moderator of a given article
729 729
      *
730
-     * @param  XoopsObject $itemObj
730
+     * @param  \PublisherItem $itemObj
731 731
      * @return bool
732 732
      */
733 733
     public static function userIsModerator($itemObj)
@@ -888,8 +888,8 @@  discard block
 block discarded – undo
888 888
     }
889 889
 
890 890
     /**
891
-     * @param  null|\PublisherCategory $categoryObj
892
-     * @param  int|array              $selectedid
891
+     * @param  \PublisherCategory $categoryObj
892
+     * @param  integer              $selectedid
893 893
      * @param  int                    $level
894 894
      * @param  string                 $ret
895 895
      * @return string
@@ -923,7 +923,7 @@  discard block
 block discarded – undo
923 923
     }
924 924
 
925 925
     /**
926
-     * @param  int|array    $selectedid
926
+     * @param  integer    $selectedid
927 927
      * @param  int    $parentcategory
928 928
      * @param  bool   $allCatOption
929 929
      * @param  string $selectname
Please login to merge, or discard this patch.