| @@ -379,7 +379,7 @@ | ||
| 379 | 379 | * @param int $module_id Module ID of this module | 
| 380 | 380 | * @param bool $force_error Whether an error message should be triggered on | 
| 381 | 381 | * errors. | 
| 382 | -* @return bool|string False if file exists, an error string if file doesn't exist. | |
| 382 | +* @return string|false False if file exists, an error string if file doesn't exist. | |
| 383 | 383 | */ | 
| 384 | 384 | function check_file_src($value, $key, $module_id, $force_error = true) | 
| 385 | 385 |  { | 
| @@ -233,7 +233,7 @@ | ||
| 233 | 233 | /** | 
| 234 | 234 | * Manage the links | 
| 235 | 235 | * | 
| 236 | - * @param mixed $value Value of input | |
| 236 | + * @param string $value Value of input | |
| 237 | 237 | * @param string $key Key name | 
| 238 | 238 | * @param int $module_id Module ID | 
| 239 | 239 | * | 
| @@ -288,7 +288,7 @@ | ||
| 288 | 288 | /** | 
| 289 | 289 | * Manage the menu links | 
| 290 | 290 | * | 
| 291 | - * @param mixed $value Value of input | |
| 291 | + * @param string $value Value of input | |
| 292 | 292 | * @param string $key Key name | 
| 293 | 293 | * @param int $module_id Module ID | 
| 294 | 294 | * | 
| @@ -409,7 +409,7 @@ discard block | ||
| 409 | 409 | /** | 
| 410 | 410 | * Manage events | 
| 411 | 411 | * | 
| 412 | - * @param mixed $value Value of input | |
| 412 | + * @param string $value Value of input | |
| 413 | 413 | * @param string $key Key name | 
| 414 | 414 | * @param int $module_id Module ID | 
| 415 | 415 | * | 
| @@ -735,7 +735,7 @@ discard block | ||
| 735 | 735 | * @param string $date Date and time string. It can contain just the | 
| 736 | 736 | * date or date and time info. The string should | 
| 737 | 737 | * be in a similar format: 17.06.1990 18:06 | 
| 738 | - * @return int|bool The timestamp of the given date or false if | |
| 738 | + * @return string The timestamp of the given date or false if | |
| 739 | 739 | * given date does not match any known formats. | 
| 740 | 740 | */ | 
| 741 | 741 | public function date_to_time($date) |