Skip to content

Commit c581e51

Browse files
committed
Always return empty filter
1 parent 54ec105 commit c581e51

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/Query/Filter/AndGroup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ public function getRaw(): string
5050
*/
5151
public function __toString(): string
5252
{
53-
if (empty($this->filters)) {
54-
return '';
55-
}
56-
5753
return '('.$this->getRaw().')';
5854
}
5955
}

src/Query/Filter/OrGroup.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ public function getRaw(): string
5050
*/
5151
public function __toString(): string
5252
{
53-
if (empty($this->filters)) {
54-
return '';
55-
}
56-
5753
return '('.$this->getRaw().')';
5854
}
5955
}

0 commit comments

Comments
 (0)