Minor refactoring

This commit is contained in:
Meritoo
2019-02-21 21:27:50 +01:00
parent 8c3c85608a
commit 651c4f2259
11 changed files with 126 additions and 130 deletions

View File

@@ -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;
}