Completed
Branch master (b963e0)
by Michael
03:39
created
class/form/category.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public $userGroups = [];
47 47
 
48 48
     /**
49
-     * @param     $target
49
+     * @param     PublisherCategory $target
50 50
      * @param int $subCatsCount
51 51
      */
52 52
     public function __construct(&$target, $subCatsCount = 4)
Please login to merge, or discard this patch.
class/helper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * @param null|string $name
53 53
      * @param null|string $value
54 54
      *
55
-     * @return mixed
55
+     * @return null|string
56 56
      */
57 57
     public function setConfig($name = null, $value = null)
58 58
     {
Please login to merge, or discard this patch.
class/item.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * @param int    $maxLength
118 118
      * @param string $format
119 119
      *
120
-     * @return mixed|string
120
+     * @return string
121 121
      */
122 122
     public function getTitle($maxLength = 0, $format = 'S')
123 123
     {
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * @param string $format
238 238
      * @param string $stripTags
239 239
      *
240
-     * @return mixed|string
240
+     * @return null|string
241 241
      */
242 242
     public function getBody($maxLength = 0, $format = 'S', $stripTags = '')
243 243
     {
@@ -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   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
 
429 429
     /**
430 430
      * @param  string $document
431
-     * @return mixed
431
+     * @return string
432 432
      */
433 433
     public static function html2text($document)
434 434
     {
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
     }
482 482
 
483 483
     /**
484
-     * @return array
484
+     * @return string[]
485 485
      */
486 486
     public static function getAllowedImagesTypes()
487 487
     {
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
     /**
707 707
      * Check is current user is author of a given article
708 708
      *
709
-     * @param  XoopsObject $itemObj
709
+     * @param  PublisherItem $itemObj
710 710
      * @return bool
711 711
      */
712 712
     public static function userIsAuthor($itemObj)
@@ -717,7 +717,7 @@  discard block
 block discarded – undo
717 717
     /**
718 718
      * Check is current user is moderator of a given article
719 719
      *
720
-     * @param  XoopsObject $itemObj
720
+     * @param  PublisherItem $itemObj
721 721
      * @return bool
722 722
      */
723 723
     public static function userIsModerator($itemObj)
@@ -878,8 +878,8 @@  discard block
 block discarded – undo
878 878
     }
879 879
 
880 880
     /**
881
-     * @param  null|PublisherCategory $categoryObj
882
-     * @param  int|array              $selectedid
881
+     * @param  PublisherCategory $categoryObj
882
+     * @param  integer              $selectedid
883 883
      * @param  int                    $level
884 884
      * @param  string                 $ret
885 885
      * @return string
@@ -913,7 +913,7 @@  discard block
 block discarded – undo
913 913
     }
914 914
 
915 915
     /**
916
-     * @param  int|array    $selectedid
916
+     * @param  integer    $selectedid
917 917
      * @param  int    $parentcategory
918 918
      * @param  bool   $allCatOption
919 919
      * @param  string $selectname
Please login to merge, or discard this patch.