mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-13 10:01:51 +01:00
Minor refactoring
This commit is contained in:
@@ -52,7 +52,7 @@ class Locale
|
||||
LC_MESSAGES,
|
||||
];
|
||||
|
||||
if (empty($languageCode) || !in_array($category, $availableCategories)) {
|
||||
if (empty($languageCode) || !in_array($category, $availableCategories, true)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user