@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | |
65 | 65 | /** |
66 | 66 | * Returns the number of stories published before a date |
67 | - * @param $timestamp |
|
68 | - * @param $expired |
|
67 | + * @param integer $timestamp |
|
68 | + * @param integer $expired |
|
69 | 69 | * @param string $topicslist |
70 | 70 | * @return mixed |
71 | 71 | */ |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | |
88 | 88 | /** |
89 | 89 | * Load the specified story from the database |
90 | - * @param $storyid |
|
90 | + * @param integer $storyid |
|
91 | 91 | */ |
92 | 92 | public function getStory($storyid) |
93 | 93 | { |
@@ -98,8 +98,8 @@ discard block |
||
98 | 98 | |
99 | 99 | /** |
100 | 100 | * Delete stories that were published before a given date |
101 | - * @param $timestamp |
|
102 | - * @param $expired |
|
101 | + * @param integer $timestamp |
|
102 | + * @param integer $expired |
|
103 | 103 | * @param string $topicslist |
104 | 104 | * @return bool |
105 | 105 | */ |
@@ -1031,7 +1031,7 @@ discard block |
||
1031 | 1031 | * @param int $fromdate Starting date |
1032 | 1032 | * @param int $todate Ending date |
1033 | 1033 | * @param string $topicslist |
1034 | - * @param bool|int $usetopicsdef Should we also export topics definitions ? |
|
1034 | + * @param integer $usetopicsdef Should we also export topics definitions ? |
|
1035 | 1035 | * @param $tbltopics |
1036 | 1036 | * @param boolean $asobject Return values as an object or not ? |
1037 | 1037 | * |
@@ -1170,7 +1170,7 @@ discard block |
||
1170 | 1170 | } |
1171 | 1171 | |
1172 | 1172 | /** |
1173 | - * @return mixed |
|
1173 | + * @return double |
|
1174 | 1174 | */ |
1175 | 1175 | public function rating() |
1176 | 1176 | { |
@@ -1480,8 +1480,8 @@ discard block |
||
1480 | 1480 | |
1481 | 1481 | /** |
1482 | 1482 | * Get the date of the older and most recent news |
1483 | - * @param $older |
|
1484 | - * @param $recent |
|
1483 | + * @param integer $older |
|
1484 | + * @param integer $recent |
|
1485 | 1485 | */ |
1486 | 1486 | public function GetOlderRecentNews(&$older, &$recent) |
1487 | 1487 | { |
@@ -1531,7 +1531,7 @@ discard block |
||
1531 | 1531 | /** |
1532 | 1532 | * Returns the content of the summary and the titles requires for the list selector |
1533 | 1533 | * @param $text |
1534 | - * @param $titles |
|
1534 | + * @param string $titles |
|
1535 | 1535 | * @return string |
1536 | 1536 | */ |
1537 | 1537 | public function auto_summary($text, &$titles) |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | use WideImage\WideImage; |
45 | 45 | |
46 | 46 | /** |
47 | - * @param $option |
|
47 | + * @param string $option |
|
48 | 48 | * @param string $repmodule |
49 | 49 | * @return bool|mixed |
50 | 50 | */ |
@@ -204,8 +204,8 @@ discard block |
||
204 | 204 | * @package News |
205 | 205 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
206 | 206 | * @copyright (c) Hervé Thouzard |
207 | - * @param $caption |
|
208 | - * @param $name |
|
207 | + * @param string $caption |
|
208 | + * @param string $name |
|
209 | 209 | * @param string $value |
210 | 210 | * @param string $width |
211 | 211 | * @param string $height |
@@ -397,7 +397,7 @@ discard block |
||
397 | 397 | * @package News |
398 | 398 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
399 | 399 | * @copyright (c) Hervé Thouzard |
400 | - * @param $content |
|
400 | + * @param string $content |
|
401 | 401 | * @return string |
402 | 402 | */ |
403 | 403 | function news_createmeta_keywords($content) |
@@ -536,7 +536,7 @@ discard block |
||
536 | 536 | * @package News |
537 | 537 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
538 | 538 | * @copyright (c) Hervé Thouzard |
539 | - * @param $fieldname |
|
539 | + * @param string $fieldname |
|
540 | 540 | * @param $table |
541 | 541 | * @return bool |
542 | 542 | */ |
@@ -554,7 +554,7 @@ discard block |
||
554 | 554 | * @package News |
555 | 555 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
556 | 556 | * @copyright (c) Hervé Thouzard |
557 | - * @param $field |
|
557 | + * @param string $field |
|
558 | 558 | * @param $table |
559 | 559 | * @return |
560 | 560 | */ |
@@ -646,7 +646,7 @@ discard block |
||
646 | 646 | /** |
647 | 647 | * @author Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson |
648 | 648 | * <amos dot robinson at gmail dot com> |
649 | - * @param $string |
|
649 | + * @param string $string |
|
650 | 650 | * @return string |
651 | 651 | */ |
652 | 652 | function news_close_tags($string) |