Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/Intl
diff options
context:
space:
mode:
authorMartin Keckeis <martin.keckeis1@gmail.com>2015-09-03 09:08:45 +0300
committerMartin Keckeis <martin.keckeis1@gmail.com>2015-09-03 09:08:45 +0300
commit4313272903c6678d7eecc800bcee1497395940c9 (patch)
treead652097bd51364034b53406a3cedd0db2a0124b /core/Intl
parentd174e9c8955df1661cf79eb6ff27fa97e0562e39 (diff)
remove short array syntax
Diffstat (limited to 'core/Intl')
-rw-r--r--core/Intl/Locale.php5
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'));
}
}