Merge lines

This commit is contained in:
Alejandro Celaya 2024-02-26 20:06:15 +01:00
parent 0fe503fa0e
commit 60fef3de74

View file

@ -66,8 +66,7 @@ class RedirectCondition extends AbstractEntity
}
$acceptedLanguages = acceptLanguageToLocales($acceptLanguage);
$normalizedLocale = normalizeLocale($this->matchValue);
[$matchLanguage, $matchCountryCode] = splitLocale($normalizedLocale);
[$matchLanguage, $matchCountryCode] = splitLocale(normalizeLocale($this->matchValue));
return some(
$acceptedLanguages,