We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a53f930 commit 7066364Copy full SHA for 7066364
src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php
@@ -46,7 +46,7 @@ public function __construct(
46
47
// Add the default locale at the first position of the array,
48
// because Symfony\HttpFoundation\Request::getPreferredLanguage
49
- // returns the first element when no an appropriate language is found
+ // returns the first element when no appropriate language is found
50
array_unshift($this->enabledLocales, $this->defaultLocale);
51
$this->enabledLocales = array_unique($this->enabledLocales);
52
}
0 commit comments