diff --git a/src/Service/RequestDataFilter.php b/src/Service/RequestDataFilter.php index 636c50c..ded2cc1 100644 --- a/src/Service/RequestDataFilter.php +++ b/src/Service/RequestDataFilter.php @@ -25,12 +25,12 @@ class RequestDataFilter */ public function filterBinaryFromRequestData(array $params): array { - return array_filter(array_filter( + return array_filter( $params, static function ($item) { return !($item instanceof FileItemInterface); } - )); + ); } /**