mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed phpstan issue
This commit is contained in:
parent
e1f1d10833
commit
e937432d1e
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ class LCSCProvider implements InfoProviderInterface
|
||||||
foreach ($attributes as $attribute) {
|
foreach ($attributes as $attribute) {
|
||||||
|
|
||||||
//Skip this attribute if it's empty
|
//Skip this attribute if it's empty
|
||||||
if (in_array(trim($attribute['paramValueEn']), array('', '-'))) {
|
if (in_array(trim($attribute['paramValueEn']), array('', '-'), true)) {
|
||||||
continue;
|
continue;
|
||||||
//If the attribute contains a tilde we assume it is a range
|
//If the attribute contains a tilde we assume it is a range
|
||||||
} elseif (str_contains($attribute['paramValueEn'], '~')) {
|
} elseif (str_contains($attribute['paramValueEn'], '~')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue