@@ -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 | */ |
@@ -918,7 +918,7 @@ discard block |
||
918 | 918 | * @param int $fromdate Starting date |
919 | 919 | * @param int $todate Ending date |
920 | 920 | * @param string $topicslist |
921 | - * @param bool|int $usetopicsdef Should we also export topics definitions ? |
|
921 | + * @param integer $usetopicsdef Should we also export topics definitions ? |
|
922 | 922 | * @param $tbltopics |
923 | 923 | * @param boolean $asobject Return values as an object or not ? |
924 | 924 | * |
@@ -1041,7 +1041,7 @@ discard block |
||
1041 | 1041 | } |
1042 | 1042 | |
1043 | 1043 | /** |
1044 | - * @return mixed |
|
1044 | + * @return double |
|
1045 | 1045 | */ |
1046 | 1046 | public function rating() |
1047 | 1047 | { |
@@ -1351,8 +1351,8 @@ discard block |
||
1351 | 1351 | |
1352 | 1352 | /** |
1353 | 1353 | * Get the date of the older and most recent news |
1354 | - * @param $older |
|
1355 | - * @param $recent |
|
1354 | + * @param integer $older |
|
1355 | + * @param integer $recent |
|
1356 | 1356 | */ |
1357 | 1357 | public function GetOlderRecentNews(&$older, &$recent) |
1358 | 1358 | { |
@@ -1402,7 +1402,7 @@ discard block |
||
1402 | 1402 | /** |
1403 | 1403 | * Returns the content of the summary and the titles requires for the list selector |
1404 | 1404 | * @param $text |
1405 | - * @param $titles |
|
1405 | + * @param string $titles |
|
1406 | 1406 | * @return string |
1407 | 1407 | */ |
1408 | 1408 | public function auto_summary($text, &$titles) |
@@ -98,14 +98,14 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * makes a nicely ordered selection box |
100 | 100 | * |
101 | - * @param $title |
|
101 | + * @param string $title |
|
102 | 102 | * @param string $order |
103 | 103 | * @param int $preset_id is used to specify a preselected item |
104 | 104 | * @param int $none set $none to 1 to add a option with value 0 |
105 | 105 | * |
106 | 106 | * @param string $sel_name |
107 | 107 | * @param string $onchange |
108 | - * @param $perms |
|
108 | + * @param string $perms |
|
109 | 109 | * |
110 | 110 | * @return string |
111 | 111 | */ |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | |
273 | 273 | /** |
274 | 274 | * Returns some stats about a topic |
275 | - * @param $topicid |
|
275 | + * @param integer $topicid |
|
276 | 276 | * @return array |
277 | 277 | */ |
278 | 278 | public function getTopicMiniStats($topicid) |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | } |
289 | 289 | |
290 | 290 | /** |
291 | - * @param $value |
|
291 | + * @param integer $value |
|
292 | 292 | */ |
293 | 293 | public function setMenu($value) |
294 | 294 | { |
@@ -304,7 +304,7 @@ discard block |
||
304 | 304 | } |
305 | 305 | |
306 | 306 | /** |
307 | - * @param $topicid |
|
307 | + * @param integer $topicid |
|
308 | 308 | */ |
309 | 309 | public function getTopic($topicid) |
310 | 310 | { |
@@ -621,7 +621,7 @@ discard block |
||
621 | 621 | } |
622 | 622 | |
623 | 623 | /** |
624 | - * @return mixed |
|
624 | + * @return integer |
|
625 | 625 | */ |
626 | 626 | public function topic_frontpage() |
627 | 627 | { |
@@ -629,7 +629,7 @@ discard block |
||
629 | 629 | } |
630 | 630 | |
631 | 631 | /** |
632 | - * @param $value |
|
632 | + * @param integer $value |
|
633 | 633 | */ |
634 | 634 | public function setTopicFrontpage($value) |
635 | 635 | { |
@@ -238,10 +238,10 @@ |
||
238 | 238 | |
239 | 239 | /** |
240 | 240 | * Internal function used by makeTreeAsArray |
241 | - * @param $fieldName |
|
242 | - * @param $key |
|
241 | + * @param string $fieldName |
|
242 | + * @param integer $key |
|
243 | 243 | * @param $ret |
244 | - * @param $prefix_orig |
|
244 | + * @param string $prefix_orig |
|
245 | 245 | * @param string $prefix_curr |
246 | 246 | */ |
247 | 247 | public function _recursiveMakeTreeAsArray($fieldName, $key, &$ret, $prefix_orig, $prefix_curr = '') |
@@ -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 | */ |
@@ -202,8 +202,8 @@ discard block |
||
202 | 202 | * @package News |
203 | 203 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
204 | 204 | * @copyright (c) Hervé Thouzard |
205 | - * @param $caption |
|
206 | - * @param $name |
|
205 | + * @param string $caption |
|
206 | + * @param string $name |
|
207 | 207 | * @param string $value |
208 | 208 | * @param string $width |
209 | 209 | * @param string $height |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * @package News |
396 | 396 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
397 | 397 | * @copyright (c) Hervé Thouzard |
398 | - * @param $content |
|
398 | + * @param string $content |
|
399 | 399 | * @return string |
400 | 400 | */ |
401 | 401 | function news_createmeta_keywords($content) |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | * @package News |
535 | 535 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
536 | 536 | * @copyright (c) Hervé Thouzard |
537 | - * @param $fieldname |
|
537 | + * @param string $fieldname |
|
538 | 538 | * @param $table |
539 | 539 | * @return bool |
540 | 540 | */ |
@@ -552,7 +552,7 @@ discard block |
||
552 | 552 | * @package News |
553 | 553 | * @author Hervé Thouzard (http://www.herve-thouzard.com) |
554 | 554 | * @copyright (c) Hervé Thouzard |
555 | - * @param $field |
|
555 | + * @param string $field |
|
556 | 556 | * @param $table |
557 | 557 | * @return |
558 | 558 | */ |
@@ -643,7 +643,7 @@ discard block |
||
643 | 643 | /** |
644 | 644 | * @author Monte Ohrt <monte at ohrt dot com>, modified by Amos Robinson |
645 | 645 | * <amos dot robinson at gmail dot com> |
646 | - * @param $string |
|
646 | + * @param string $string |
|
647 | 647 | * @return string |
648 | 648 | */ |
649 | 649 | function news_close_tags($string) |