Skip to content

Commit

Permalink
minor #1517 Fix small comment hiccup (Nispeon)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
javiereguiluz committed May 28, 2024
2 parents a53f930 + 7066364 commit effa75f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function __construct(

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

0 comments on commit effa75f

Please sign in to comment.