@@ -578,7 +578,7 @@ |
||
578 | 578 | } |
579 | 579 | |
580 | 580 | /** |
581 | - * @param $text |
|
581 | + * @param string $text |
|
582 | 582 | * |
583 | 583 | * @return string |
584 | 584 | */ |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * @param $items |
32 | 32 | * |
33 | - * @return null |
|
33 | + * @return false|null |
|
34 | 34 | */ |
35 | 35 | function news_tag_iteminfo(&$items) |
36 | 36 | { |
@@ -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 = '') |
@@ -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) |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | public $filename; // filename to manage |
33 | 33 | |
34 | 34 | /** |
35 | - * @param null $fichier |
|
35 | + * @param string $fichier |
|
36 | 36 | */ |
37 | 37 | public function __construct($fichier = null) |
38 | 38 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param $content |
|
73 | + * @param string $content |
|
74 | 74 | * @param null $fichier |
75 | 75 | * |
76 | 76 | * @return bool |
@@ -64,7 +64,7 @@ discard block |
||
64 | 64 | } |
65 | 65 | |
66 | 66 | /** |
67 | - * @param $folder |
|
67 | + * @param string $folder |
|
68 | 68 | * @param $filename |
69 | 69 | * @param bool $trimname |
70 | 70 | * |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | } |
137 | 137 | |
138 | 138 | /** |
139 | - * @param $id |
|
139 | + * @param integer $id |
|
140 | 140 | */ |
141 | 141 | public function getFile($id) |
142 | 142 | { |
@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | } |
273 | 273 | |
274 | 274 | /** |
275 | - * @param $storyid |
|
275 | + * @param integer $storyid |
|
276 | 276 | */ |
277 | 277 | public function getStory($storyid) |
278 | 278 | { |
@@ -319,7 +319,7 @@ discard block |
||
319 | 319 | } |
320 | 320 | |
321 | 321 | /** |
322 | - * @param $total |
|
322 | + * @param integer $total |
|
323 | 323 | * |
324 | 324 | * @return bool |
325 | 325 | */ |