public function incorrectQueryHandler($key, $value, $expr) { if (strpos($value, '&&') && strpos($value, '||')) { throw new QueryParseException('Mixed && and || operators are not supported', 1); } }