Skip to content

Commit effa75f

Browse files
committed
minor #1517 Fix small comment hiccup (Nispeon)
This PR was merged into the main branch. Discussion ---------- Fix small comment hiccup Hello, I opened this tiny PR because I noticed this little error in a comment. Despite the size, I think it's a rather confusing error, because not knowing how locales work myself, I am not sure whether it was `an` or `no` that I should remove to fix the comment. Hopefully I got it right 🙏🏽 Commits ------- 7066364 Fix small comment hiccup
2 parents a53f930 + 7066364 commit effa75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventSubscriber/RedirectToPreferredLocaleSubscriber.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(
4646

4747
// Add the default locale at the first position of the array,
4848
// because Symfony\HttpFoundation\Request::getPreferredLanguage
49-
// returns the first element when no an appropriate language is found
49+
// returns the first element when no appropriate language is found
5050
array_unshift($this->enabledLocales, $this->defaultLocale);
5151
$this->enabledLocales = array_unique($this->enabledLocales);
5252
}

0 commit comments

Comments
 (0)