aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Translate.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Translate.php')
-rw-r--r--lib/Minz/Translate.php9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Minz/Translate.php b/lib/Minz/Translate.php
index ed9eca07c..1bb2438d1 100644
--- a/lib/Minz/Translate.php
+++ b/lib/Minz/Translate.php
@@ -13,25 +13,24 @@ class Minz_Translate {
* $path_list is the list of registered base path to search translations.
* @var array<string>
*/
- private static $path_list = array();
+ private static array $path_list = [];
/**
* $lang_name is the name of the current language to use.
- * @var string
*/
- private static $lang_name;
+ private static string $lang_name;
/**
* $lang_files is a list of registered i18n files.
* @var array<string,array<string>>
*/
- private static $lang_files = array();
+ private static array $lang_files = [];
/**
* $translates is a cache for i18n translation.
* @var array<string,mixed>
*/
- private static $translates = array();
+ private static array $translates = [];
/**
* Init the translation object.