Skip to content

Commit dc37aa4

Browse files
committed
PHP 7.x compatability
1 parent 17b695a commit dc37aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DSL/Bridge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ private function _ninQueryString($key, $values): string
696696
private function _parseParams($key, $value): string
697697
{
698698

699-
if (in_array($key, $this->bucketOperators)) {
699+
if ($key == 'and' || $key == 'or') {
700700
return $this->{'_'.$key.'QueryString'}($value);
701701
}
702702
if (is_array($value)) {

0 commit comments

Comments
 (0)