@@ 170-176 (lines=7) @@ | ||
167 | ||
168 | return $this->expr->notIn($field, $placeholder); |
|
169 | case Comparison::EQ: |
|
170 | case Comparison::IS: |
|
171 | if ($this->walkValue($comparison->getValue()) === null) { |
|
172 | return $this->expr->isNull($field); |
|
173 | } |
|
174 | $this->parameters[] = $parameter; |
|
175 | ||
176 | return $this->expr->eq($field, $placeholder); |
|
177 | case Comparison::NEQ: |
|
178 | if ($this->walkValue($comparison->getValue()) === null) { |
|
179 | return $this->expr->isNotNull($field); |
|
@@ 177-183 (lines=7) @@ | ||
174 | $this->parameters[] = $parameter; |
|
175 | ||
176 | return $this->expr->eq($field, $placeholder); |
|
177 | case Comparison::NEQ: |
|
178 | if ($this->walkValue($comparison->getValue()) === null) { |
|
179 | return $this->expr->isNotNull($field); |
|
180 | } |
|
181 | $this->parameters[] = $parameter; |
|
182 | ||
183 | return $this->expr->neq($field, $placeholder); |
|
184 | case Comparison::CONTAINS: |
|
185 | $parameter->setValue('%' . $parameter->getValue() . '%', $parameter->getType()); |
|
186 | $this->parameters[] = $parameter; |