Completed
Push — master ( b610c1...53db9c )
by Michael
03:25 queued 01:39
created
class/class.newsstory.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * Returns the number of stories published before a date
60
-     * @param         $timestamp
61
-     * @param         $expired
60
+     * @param         integer $timestamp
61
+     * @param         integer $expired
62 62
      * @param  string $topicslist
63 63
      * @return mixed
64 64
      */
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 
81 81
     /**
82 82
      * Load the specified story from the database
83
-     * @param $storyid
83
+     * @param integer $storyid
84 84
      */
85 85
     public function getStory($storyid)
86 86
     {
@@ -91,8 +91,8 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * Delete stories that were published before a given date
94
-     * @param         $timestamp
95
-     * @param         $expired
94
+     * @param         integer $timestamp
95
+     * @param         integer $expired
96 96
      * @param  string $topicslist
97 97
      * @return bool
98 98
      */
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
      * @param int      $fromdate     Starting date
977 977
      * @param int      $todate       Ending date
978 978
      * @param string   $topicslist
979
-     * @param bool|int $usetopicsdef Should we also export topics definitions ?
979
+     * @param integer $usetopicsdef Should we also export topics definitions ?
980 980
      * @param          $tbltopics
981 981
      * @param boolean  $asobject     Return values as an object or not ?
982 982
      *
@@ -1159,7 +1159,7 @@  discard block
 block discarded – undo
1159 1159
     }
1160 1160
 
1161 1161
     /**
1162
-     * @return mixed
1162
+     * @return double
1163 1163
      */
1164 1164
     public function rating()
1165 1165
     {
@@ -1476,8 +1476,8 @@  discard block
 block discarded – undo
1476 1476
 
1477 1477
     /**
1478 1478
      * Get the date of the older and most recent news
1479
-     * @param $older
1480
-     * @param $recent
1479
+     * @param integer $older
1480
+     * @param integer $recent
1481 1481
      */
1482 1482
     public function getOlderRecentNews(&$older, &$recent)
1483 1483
     {
@@ -1527,7 +1527,7 @@  discard block
 block discarded – undo
1527 1527
     /**
1528 1528
      * Returns the content of the summary and the titles requires for the list selector
1529 1529
      * @param $text
1530
-     * @param $titles
1530
+     * @param string $titles
1531 1531
      * @return string
1532 1532
      */
1533 1533
     public function auto_summary($text, &$titles)
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
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     }
158 158
 
159 159
     /**
160
-     * @param             $option
160
+     * @param             string $option
161 161
      * @param  string     $repmodule
162 162
      * @return bool|mixed
163 163
      */
@@ -325,8 +325,8 @@  discard block
 block discarded – undo
325 325
      * @package       News
326 326
      * @author        Hervé Thouzard (http://www.herve-thouzard.com)
327 327
      * @copyright (c) Hervé Thouzard
328
-     * @param                                                                                                                                 $caption
329
-     * @param                                                                                                                                 $name
328
+     * @param                                                                                                                                 string $caption
329
+     * @param                                                                                                                                 string $name
330 330
      * @param  string                                                                                                                         $value
331 331
      * @param  string                                                                                                                         $width
332 332
      * @param  string                                                                                                                         $height
@@ -524,7 +524,7 @@  discard block
 block discarded – undo
524 524
      * @package       News
525 525
      * @author        Hervé Thouzard (http://www.herve-thouzard.com)
526 526
      * @copyright (c) Hervé Thouzard
527
-     * @param $content
527
+     * @param string $content
528 528
      * @return string
529 529
      */
530 530
     public static function createMetaKeywords($content)
@@ -719,7 +719,7 @@  discard block
 block discarded – undo
719 719
      * @package       News
720 720
      * @author        Hervé Thouzard (http://www.herve-thouzard.com)
721 721
      * @copyright (c) Hervé Thouzard
722
-     * @param $fieldname
722
+     * @param string $fieldname
723 723
      * @param $table
724 724
      * @return bool
725 725
      */
@@ -737,7 +737,7 @@  discard block
 block discarded – undo
737 737
      * @package       News
738 738
      * @author        Hervé Thouzard (http://www.herve-thouzard.com)
739 739
      * @copyright (c) Hervé Thouzard
740
-     * @param $field
740
+     * @param string $field
741 741
      * @param $table
742 742
      * @return bool|\mysqli_result
743 743
      */
@@ -828,7 +828,7 @@  discard block
 block discarded – undo
828 828
     /**
829 829
      * @author   Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson
830 830
      *           <amos dot robinson at gmail dot com>
831
-     * @param $string
831
+     * @param string $string
832 832
      * @return string
833 833
      */
834 834
     public static function closeTags($string)
Please login to merge, or discard this patch.
include/functions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@  discard block
 block discarded – undo
35 35
 use WideImage\WideImage;
36 36
 
37 37
 /**
38
- * @param             $option
38
+ * @param             string $option
39 39
  * @param  string     $repmodule
40
- * @return bool|mixed
40
+ * @return string|boolean
41 41
  */
42 42
 function news_getmoduleoption($option, $repmodule = 'news')
43 43
 {
@@ -402,7 +402,7 @@  discard block
 block discarded – undo
402 402
  * @package       News
403 403
  * @author        Hervé Thouzard (http://www.herve-thouzard.com)
404 404
  * @copyright (c) Hervé Thouzard
405
- * @param $content
405
+ * @param string $content
406 406
  * @return string
407 407
  */
408 408
 function news_createmeta_keywords($content)
@@ -706,7 +706,7 @@  discard block
 block discarded – undo
706 706
 /**
707 707
  * @author   Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson
708 708
  *           <amos dot robinson at gmail dot com>
709
- * @param $string
709
+ * @param string $string
710 710
  * @return string
711 711
  */
712 712
 function news_close_tags($string)
Please login to merge, or discard this patch.