@@ -36,9 +36,9 @@ |
||
36 | 36 | /** |
37 | 37 | * |
38 | 38 | * Constructor to build FormDateTimePicker object |
39 | - * @param mixed $caption HTML description to display for the element |
|
40 | - * @param mixed $name HTML element name (ie. name='$name') |
|
41 | - * @param mixed $size size of field to display |
|
39 | + * @param string $caption HTML description to display for the element |
|
40 | + * @param string $name HTML element name (ie. name='$name') |
|
41 | + * @param integer $size size of field to display |
|
42 | 42 | * @param mixed $value timestamp of date/time to show |
43 | 43 | */ |
44 | 44 | public function __construct($caption, $name, $size, $value) |
@@ -352,7 +352,7 @@ |
||
352 | 352 | /** |
353 | 353 | * |
354 | 354 | * Method determines if current user can view the results of this poll |
355 | - * @return mixed visibility of this poll's results (true if visible, msg if not) |
|
355 | + * @return boolean|string visibility of this poll's results (true if visible, msg if not) |
|
356 | 356 | */ |
357 | 357 | public function isResultVisible() |
358 | 358 | { |
@@ -276,7 +276,7 @@ discard block |
||
276 | 276 | } |
277 | 277 | |
278 | 278 | /** |
279 | - * @return bool|string |
|
279 | + * @return false|string |
|
280 | 280 | */ |
281 | 281 | public function displayPostEdit() |
282 | 282 | { |
@@ -1085,7 +1085,7 @@ discard block |
||
1085 | 1085 | /** |
1086 | 1086 | * @param null $criteria |
1087 | 1087 | * @param null $join |
1088 | - * @return int|null |
|
1088 | + * @return integer |
|
1089 | 1089 | */ |
1090 | 1090 | public function getPostCount($criteria = null, $join = null) |
1091 | 1091 | { |
@@ -253,7 +253,7 @@ |
||
253 | 253 | } |
254 | 254 | |
255 | 255 | /** |
256 | - * @return bool|string |
|
256 | + * @return false|string |
|
257 | 257 | */ |
258 | 258 | public function displayPostEdit() |
259 | 259 | { |
@@ -266,7 +266,7 @@ |
||
266 | 266 | /** |
267 | 267 | * Generates an html select box with options |
268 | 268 | * |
269 | - * @param mixed $pid the select box is created for this poll id |
|
269 | + * @param integer $pid the select box is created for this poll id |
|
270 | 270 | * @return string html select box |
271 | 271 | */ |
272 | 272 | public function renderOptionFormTray($pid = 0) |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | * for backward compatibility. Otherwise cookie is named |
123 | 123 | * '<dirname>_voted_polls' to allow for module to be cloned using |
124 | 124 | * smartClone module. |
125 | - * @param int|string $index array index to set in cookie |
|
125 | + * @param string $index array index to set in cookie |
|
126 | 126 | * @param unknown_type $value data to store in cookie |
127 | 127 | * @param int $expires time when cookie expires |
128 | 128 | * @param string $cookieBaseName name of cookie (without directory prefix) |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | * '<dirname>_voted_polls' to allow for module to be cloned using |
169 | 169 | * smartClone module. |
170 | 170 | * @param XoopsDatabase $db |
171 | - * @param $tablename |
|
171 | + * @param string $tablename |
|
172 | 172 | * @return bool success in setting cookie |
173 | 173 | * @internal param int|string $index array index to set in cookie |
174 | 174 | * @internal param unknown_type $value data to store in cookie |