X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=languages%2FLanguage.php;h=e505b287e5f2cc2e054bb16217ee7ce0c366016c;hb=2828ef9f34d9f47ef896523b132661c280768ea9;hp=9d3f5e9c988560f0626037535c98e0802786b755;hpb=e50ef5784e237ce26c91ec402cb94669c78e303e;p=lhc%2Fweb%2Fwiklou.git diff --git a/languages/Language.php b/languages/Language.php index 9d3f5e9c98..e505b287e5 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1880,7 +1880,7 @@ class Language { /** * Used by date() and time() to adjust the time output. * - * @param int $ts The time in date('YmdHis') format + * @param string $ts The time in date('YmdHis') format * @param mixed $tz Adjust the time by this amount (default false, mean we * get user timecorrection setting) * @return int @@ -2020,7 +2020,7 @@ class Language { } /** - * @param mixed $ts The time format which needs to be turned into a + * @param string $ts The time format which needs to be turned into a * date('YmdHis') format with wfTimestamp(TS_MW,$ts) * @param bool $adj Whether to adjust the time output according to the * user configured offset ($timecorrection) @@ -2039,7 +2039,7 @@ class Language { } /** - * @param mixed $ts The time format which needs to be turned into a + * @param string $ts The time format which needs to be turned into a * date('YmdHis') format with wfTimestamp(TS_MW,$ts) * @param bool $adj Whether to adjust the time output according to the * user configured offset ($timecorrection) @@ -2058,7 +2058,7 @@ class Language { } /** - * @param mixed $ts The time format which needs to be turned into a + * @param string $ts The time format which needs to be turned into a * date('YmdHis') format with wfTimestamp(TS_MW,$ts) * @param bool $adj Whether to adjust the time output according to the * user configured offset ($timecorrection) @@ -2149,7 +2149,7 @@ class Language { * Internal helper function for userDate(), userTime() and userTimeAndDate() * * @param string $type Can be 'date', 'time' or 'both' - * @param mixed $ts The time format which needs to be turned into a + * @param string $ts The time format which needs to be turned into a * date('YmdHis') format with wfTimestamp(TS_MW,$ts) * @param User $user User object used to get preferences for timezone and format * @param array $options Array, can contain the following keys: