summaryrefslogtreecommitdiffstats
path: root/core/Command/L10n/CreateJs.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/L10n/CreateJs.php')
-rw-r--r--core/Command/L10n/CreateJs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/L10n/CreateJs.php b/core/Command/L10n/CreateJs.php
index bcb68ced472..82a23e38176 100644
--- a/core/Command/L10n/CreateJs.php
+++ b/core/Command/L10n/CreateJs.php
@@ -91,7 +91,7 @@ class CreateJs extends Command implements CompletionAwareInterface {
}
private function writeFiles($app, $path, $lang, OutputInterface $output) {
- list($translations, $plurals) = $this->loadTranslations($path, $lang);
+ [$translations, $plurals] = $this->loadTranslations($path, $lang);
$this->writeJsFile($app, $path, $lang, $output, $translations, $plurals);
$this->writeJsonFile($path, $lang, $output, $translations, $plurals);
}