aboutsummaryrefslogtreecommitdiff
path: root/src/Search
diff options
context:
space:
mode:
Diffstat (limited to 'src/Search')
-rw-r--r--src/Search/LogicOp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Search/LogicOp.php b/src/Search/LogicOp.php
index 85fb8fa..19d85f3 100644
--- a/src/Search/LogicOp.php
+++ b/src/Search/LogicOp.php
@@ -62,8 +62,8 @@ class LogicOp implements SearchExpr
$a = $this->a->toSQL("a_$bindPrefix", $singleFTS);
$b = $this->b->toSQL("b_$bindPrefix", $singleFTS);
+ assert(isset(self::SQLOPS[$this->op]));
$sqlop = self::SQLOPS[$this->op];
- assert($sqlop);
$sqlex->sql = "(({$a->sql}) {$sqlop} ({$b->sql}))";
$sqlex->bindings = array_merge($a->bindings, $b->bindings);