diff --git a/src/Filter/FilterLogic.php b/src/Filter/FilterLogic.php index 2e70833..d9befc1 100644 --- a/src/Filter/FilterLogic.php +++ b/src/Filter/FilterLogic.php @@ -137,7 +137,7 @@ public function generateExpressions(QueryBuilder $queryBuilder, QueryNameGenerat protected function doGenerate($queryBuilder, $queryNameGenerator, $resourceClass, $operationName, $context) { if (empty($context['filters'])) { - return; + return []; } $oldWhere = $queryBuilder->getDQLPart('where');