Release 2.12 (#4609)
This commit is contained in:
@@ -51,7 +51,7 @@ final class LocaleService
|
||||
|
||||
public function isKnownLocale(string $language): bool
|
||||
{
|
||||
return \in_array($language, $this->getAllLocales());
|
||||
return \in_array($language, $this->getAllLocales(), true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user