diff options
author | Martin Keckeis <martin.keckeis1@gmail.com> | 2015-09-03 09:08:45 +0300 |
---|---|---|
committer | Martin Keckeis <martin.keckeis1@gmail.com> | 2015-09-03 09:08:45 +0300 |
commit | 4313272903c6678d7eecc800bcee1497395940c9 (patch) | |
tree | ad652097bd51364034b53406a3cedd0db2a0124b /core/Intl | |
parent | d174e9c8955df1661cf79eb6ff27fa97e0562e39 (diff) |
remove short array syntax
Diffstat (limited to 'core/Intl')
-rw-r--r-- | core/Intl/Locale.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/Intl/Locale.php b/core/Intl/Locale.php index 5ff2329d97..0c7676569a 100644 --- a/core/Intl/Locale.php +++ b/core/Intl/Locale.php @@ -10,6 +10,9 @@ namespace Piwik\Intl; class Locale { + /** + * @param string|array $locale + */ public static function setLocale($locale) { if(!is_array($locale)){ @@ -32,6 +35,6 @@ class Locale public static function setDefaultLocale() { - self::setLocale(['en_US.UTF-8', 'en-US']); + self::setLocale(array('en_US.UTF-8', 'en-US')); } } |