Skip to content

Commit

Permalink
fix failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dadarya0 committed Jun 4, 2024
1 parent 424b4c3 commit 5755b83
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Helper/QueryFilterHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ private function getCustomValueValueExpression(
$customQuery->expr()->isNull($tableAlias.'_value.value'),
);
if ($filter->doesColumnSupportEmptyValue()) {
/** @phpstan-ignore-next-line */
$expression->with(
$expression->add(
$customQuery->expr()->eq($tableAlias.'_value.value', $customQuery->expr()->literal(''))
);
}
Expand All @@ -195,8 +194,7 @@ private function getCustomValueValueExpression(
$customQuery->expr()->isNotNull($tableAlias.'_value.value'),
);
if ($filter->doesColumnSupportEmptyValue()) {
/** @phpstan-ignore-next-line */
$expression->with(
$expression->add(
$customQuery->expr()->neq($tableAlias.'_value.value', $customQuery->expr()->literal(''))
);
}
Expand Down

0 comments on commit 5755b83

Please sign in to comment.