Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jordisala1991 committed Oct 18, 2021
1 parent e2651e0 commit 6b1afe3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"require-dev": {
"matthiasnoback/symfony-config-test": "^4.2",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"symfony/phpunit-bridge": "^5.1.8"
"phpunit/phpunit": "^9.5",
"symfony/phpunit-bridge": "^5.3"
},
"config": {
"sort-packages": true
Expand Down
2 changes: 1 addition & 1 deletion src/Filter/ClassFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function filter(ProxyQueryInterface $queryBuilder, $alias, $field, $data)
return;
}

if (0 === \strlen($data['value'])) {
if ('' === $data['value']) {
return;
}

Expand Down
2 changes: 1 addition & 1 deletion src/Filter/StringFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function filter(ProxyQueryInterface $query, $alias, $field, $data)

$data['value'] = trim($data['value']);

if (0 === \strlen($data['value'])) {
if ('' === $data['value']) {
return;
}

Expand Down

0 comments on commit 6b1afe3

Please sign in to comment.