Fix wrong @return type hints in Language::tsTo… methods
authorThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 19 Apr 2016 10:18:20 +0000 (12:18 +0200)
committerThiemo Mättig <thiemo.maettig@wikimedia.de>
Tue, 19 Apr 2016 10:18:20 +0000 (12:18 +0200)
Change-Id: Ic4dec8e8612021f010734037b6c3527bef2fe04a

languages/Language.php

index a14a376..56ecee9 100644 (file)
@@ -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