aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/L10NString.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/L10N/L10NString.php')
-rw-r--r--lib/private/L10N/L10NString.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/private/L10N/L10NString.php b/lib/private/L10N/L10NString.php
index 47635cf67fc..683cd902ab6 100644
--- a/lib/private/L10N/L10NString.php
+++ b/lib/private/L10N/L10NString.php
@@ -63,13 +63,12 @@ class L10NString implements \JsonSerializable {
$translations = $this->l10n->getTranslations();
$text = $this->text;
- if(array_key_exists($this->text, $translations)) {
- if(is_array($translations[$this->text])) {
+ if (array_key_exists($this->text, $translations)) {
+ if (is_array($translations[$this->text])) {
$fn = $this->l10n->getPluralFormFunction();
$id = $fn($this->count);
$text = $translations[$this->text][$id];
- }
- else{
+ } else {
$text = $translations[$this->text];
}
}