Double filtering will loose some params
This commit is contained in:
parent
bd81c1d8fc
commit
9e601738ac
@ -25,12 +25,12 @@ class RequestDataFilter
|
|||||||
*/
|
*/
|
||||||
public function filterBinaryFromRequestData(array $params): array
|
public function filterBinaryFromRequestData(array $params): array
|
||||||
{
|
{
|
||||||
return array_filter(array_filter(
|
return array_filter(
|
||||||
$params,
|
$params,
|
||||||
static function ($item) {
|
static function ($item) {
|
||||||
return !($item instanceof FileItemInterface);
|
return !($item instanceof FileItemInterface);
|
||||||
}
|
}
|
||||||
));
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user