fix: ensure correct argument type
This commit is contained in:
@@ -47,7 +47,7 @@ class FilterService implements SingletonInterface
|
|||||||
if (empty($value)) {
|
if (empty($value)) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return array_map('intval', $value);
|
return array_map('intval', (array) $value);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$optionsResolver->setNormalizer('bus', function (Options $options, $value) {
|
$optionsResolver->setNormalizer('bus', function (Options $options, $value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user