@@ -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) |
@@ -289,7 +289,7 @@ |
||
| 289 | 289 | /** |
| 290 | 290 | * |
| 291 | 291 | * Generates an html select box with options |
| 292 | - * @param mixed $pid the select box is created for this poll id |
|
| 292 | + * @param integer $pid the select box is created for this poll id |
|
| 293 | 293 | * @return string html select box |
| 294 | 294 | */ |
| 295 | 295 | public function renderOptionFormTray($pid = 0) |
@@ -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 | { |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * for backward compatibility. Otherwise cookie is named |
| 124 | 124 | * '<dirname>_voted_polls' to allow for module to be cloned using |
| 125 | 125 | * smartClone module. |
| 126 | - * @param int|string $index array index to set in cookie |
|
| 126 | + * @param string $index array index to set in cookie |
|
| 127 | 127 | * @param unknown_type $value data to store in cookie |
| 128 | 128 | * @param int $expires time when cookie expires |
| 129 | 129 | * @param string $cookieBaseName name of cookie (without directory prefix) |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | * '<dirname>_voted_polls' to allow for module to be cloned using |
| 170 | 170 | * smartClone module. |
| 171 | 171 | * @param $db |
| 172 | - * @param $tablename |
|
| 172 | + * @param string $tablename |
|
| 173 | 173 | * @return bool success in setting cookie |
| 174 | 174 | * @internal param int|string $index array index to set in cookie |
| 175 | 175 | * @internal param unknown_type $value data to store in cookie |
@@ -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 | { |