diff options
Diffstat (limited to 'lib/private/L10N')
-rw-r--r-- | lib/private/L10N/Factory.php | 1 | ||||
-rw-r--r-- | lib/private/L10N/L10N.php | 1 | ||||
-rw-r--r-- | lib/private/L10N/LanguageIterator.php | 14 | ||||
-rw-r--r-- | lib/private/L10N/LazyL10N.php | 1 |
4 files changed, 7 insertions, 10 deletions
diff --git a/lib/private/L10N/Factory.php b/lib/private/L10N/Factory.php index 71910873db7..593af02bd1c 100644 --- a/lib/private/L10N/Factory.php +++ b/lib/private/L10N/Factory.php @@ -54,7 +54,6 @@ use function is_null; * A factory that generates language instances */ class Factory implements IFactory { - /** @var string */ protected $requestLanguage = ''; diff --git a/lib/private/L10N/L10N.php b/lib/private/L10N/L10N.php index 82ef3350b1f..d0794c9c9c0 100644 --- a/lib/private/L10N/L10N.php +++ b/lib/private/L10N/L10N.php @@ -34,7 +34,6 @@ use Punic\Calendar; use Symfony\Component\Translation\IdentityTranslator; class L10N implements IL10N { - /** @var IFactory */ protected $factory; diff --git a/lib/private/L10N/LanguageIterator.php b/lib/private/L10N/LanguageIterator.php index 4a76667caf2..b3549782d54 100644 --- a/lib/private/L10N/LanguageIterator.php +++ b/lib/private/L10N/LanguageIterator.php @@ -63,8 +63,8 @@ class LanguageIterator implements ILanguageIterator { return $forcedLang; } $this->next(); - /** @noinspection PhpMissingBreakStatementInspection */ - // no break + /** @noinspection PhpMissingBreakStatementInspection */ + // no break case 1: $forcedLang = $this->config->getSystemValue('force_language', false); if (is_string($forcedLang) @@ -73,16 +73,16 @@ class LanguageIterator implements ILanguageIterator { return $truncated; } $this->next(); - /** @noinspection PhpMissingBreakStatementInspection */ - // no break + /** @noinspection PhpMissingBreakStatementInspection */ + // no break case 2: $userLang = $this->config->getUserValue($this->user->getUID(), 'core', 'lang', null); if (is_string($userLang)) { return $userLang; } $this->next(); - /** @noinspection PhpMissingBreakStatementInspection */ - // no break + /** @noinspection PhpMissingBreakStatementInspection */ + // no break case 3: $userLang = $this->config->getUserValue($this->user->getUID(), 'core', 'lang', null); if (is_string($userLang) @@ -94,7 +94,7 @@ class LanguageIterator implements ILanguageIterator { // no break case 4: return $this->config->getSystemValue('default_language', 'en'); - /** @noinspection PhpMissingBreakStatementInspection */ + /** @noinspection PhpMissingBreakStatementInspection */ case 5: $defaultLang = $this->config->getSystemValue('default_language', 'en'); if (($truncated = $this->getTruncatedLanguage($defaultLang)) !== $defaultLang) { diff --git a/lib/private/L10N/LazyL10N.php b/lib/private/L10N/LazyL10N.php index f56761799b3..3226c1a604b 100644 --- a/lib/private/L10N/LazyL10N.php +++ b/lib/private/L10N/LazyL10N.php @@ -28,7 +28,6 @@ namespace OC\L10N; use OCP\IL10N; class LazyL10N implements IL10N { - /** @var IL10N */ private $l; |