dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26cf9f6
)
Fix wrong @return type hints in Language::tsTo… methods
author
Thiemo Mättig
<thiemo.maettig@wikimedia.de>
Tue, 19 Apr 2016 10:18:20 +0000
(12:18 +0200)
committer
Thiemo Mättig
<thiemo.maettig@wikimedia.de>
Tue, 19 Apr 2016 10:18:20 +0000
(12:18 +0200)
Change-Id: Ic4dec8e8612021f010734037b6c3527bef2fe04a
languages/Language.php
patch
|
blob
|
history
diff --git
a/languages/Language.php
b/languages/Language.php
index
a14a376
..
56ecee9
100644
(file)
--- 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