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:
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'));
}
}