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