@@ -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 | */ |
@@ -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 | { |
@@ -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 | */ |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @param $value |
|
73 | + * @param integer $value |
|
74 | 74 | */ |
75 | 75 | public function setTopicPid($value) |
76 | 76 | { |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
81 | - * @param $topicid |
|
81 | + * @param integer $topicid |
|
82 | 82 | */ |
83 | 83 | public function getTopic($topicid) |
84 | 84 | { |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | } |
396 | 396 | |
397 | 397 | /** |
398 | - * @param $pid |
|
398 | + * @param integer $pid |
|
399 | 399 | * @param $title |
400 | 400 | * |
401 | 401 | * @return bool |
@@ -57,8 +57,8 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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) |
@@ -157,7 +157,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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) |
@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | 3 | use WideImage\WideImage; |
4 | -use Xmf\Request; |
|
5 | 4 | |
6 | 5 | //require_once dirname(__DIR__) . '/include/common.php'; |
7 | 6 |
@@ -35,9 +35,9 @@ discard block |
||
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 |
||
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 |
||
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) |