@@ -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) |