Completed
Branch master (d81c7d)
by Michael
04:25
created
class/file.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -344,7 +344,7 @@
 block discarded – undo
344 344
      * retrieve all files
345 345
      *
346 346
      * @param int       $itemid
347
-     * @param int|array $status
347
+     * @param integer $status
348 348
      * @param int       $limit
349 349
      * @param int       $start
350 350
      * @param string    $sort
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
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      * @param int    $maxLength
115 115
      * @param string $format
116 116
      *
117
-     * @return mixed|string
117
+     * @return string
118 118
      */
119 119
     public function getTitle($maxLength = 0, $format = 'S')
120 120
     {
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      * @param string $format
235 235
      * @param string $stripTags
236 236
      *
237
-     * @return mixed|string
237
+     * @return null|string
238 238
      */
239 239
     public function getBody($maxLength = 0, $format = 'S', $stripTags = '')
240 240
     {
@@ -1620,7 +1620,7 @@  discard block
 block discarded – undo
1620 1620
     }
1621 1621
 
1622 1622
     /**
1623
-     * @param string|array $notNullFields
1623
+     * @param string $notNullFields
1624 1624
      * @param bool         $withAnd
1625 1625
      *
1626 1626
      * @return string
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
 /**
102 102
  * @param  string $document
103
- * @return mixed
103
+ * @return string
104 104
  */
105 105
 function publisherHtml2text($document)
106 106
 {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 }
158 158
 
159 159
 /**
160
- * @return array
160
+ * @return string[]
161 161
  */
162 162
 function publisherGetAllowedImagesTypes()
163 163
 {
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
 /**
383 383
  * Check is current user is author of a given article
384 384
  *
385
- * @param  XoopsObject $itemObj
385
+ * @param  PublisherItem $itemObj
386 386
  * @return bool
387 387
  */
388 388
 function publisherUserIsAuthor($itemObj)
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 /**
394 394
  * Check is current user is moderator of a given article
395 395
  *
396
- * @param  XoopsObject $itemObj
396
+ * @param  PublisherItem $itemObj
397 397
  * @return bool
398 398
  */
399 399
 function publisherUserIsModerator($itemObj)
@@ -553,7 +553,7 @@  discard block
 block discarded – undo
553 553
 }
554 554
 
555 555
 /**
556
- * @param  null|PublisherCategory $categoryObj
556
+ * @param  PublisherCategory $categoryObj
557 557
  * @param  int                    $selectedid
558 558
  * @param  int                    $level
559 559
  * @param  string                 $ret
Please login to merge, or discard this patch.