Fixed phpstan issue

This commit is contained in:
Jan Böhmer 2024-02-24 23:23:36 +01:00
parent e1f1d10833
commit e937432d1e

View file

@ -271,7 +271,7 @@ class LCSCProvider implements InfoProviderInterface
foreach ($attributes as $attribute) {
//Skip this attribute if it's empty
if (in_array(trim($attribute['paramValueEn']), array('', '-'))) {
if (in_array(trim($attribute['paramValueEn']), array('', '-'), true)) {
continue;
//If the attribute contains a tilde we assume it is a range
} elseif (str_contains($attribute['paramValueEn'], '~')) {