From: Thiemo Mättig Date: Tue, 19 Apr 2016 10:18:20 +0000 (+0200) Subject: Fix wrong @return type hints in Language::tsTo… methods X-Git-Tag: 1.31.0-rc.0~7250^2 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22statistiques_visites%22%2C%22%22%29%20.%20%22?a=commitdiff_plain;h=6209fe38e461b41bb2dd30080821cdb35add3b2a;p=lhc%2Fweb%2Fwiklou.git Fix wrong @return type hints in Language::tsTo… methods Change-Id: Ic4dec8e8612021f010734037b6c3527bef2fe04a --- diff --git a/languages/Language.php b/languages/Language.php index a14a376a6a..56ecee9fc8 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1557,7 +1557,7 @@ class Language { * * @param string $ts * - * @return string + * @return int[] */ private static function tsToIranian( $ts ) { $gy = substr( $ts, 0, 4 ) -1600; @@ -1615,7 +1615,7 @@ class Language { * * @param string $ts * - * @return string + * @return int[] */ private static function tsToHijri( $ts ) { $year = substr( $ts, 0, 4 ); @@ -1667,7 +1667,7 @@ class Language { * * @param string $ts * - * @return string + * @return int[] */ private static function tsToHebrew( $ts ) { # Parse date