| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function build(NotConditionInterface $expression, array &$params = []): string |
||
| 28 | { |
||
| 29 | $operand = $expression->getCondition(); |
||
| 30 | |||
| 31 | if ($operand === '') { |
||
| 32 | return ''; |
||
| 33 | } |
||
| 34 | |||
| 35 | $expression = $this->queryBuilder->buildCondition($operand, $params); |
||
| 36 | |||
| 37 | return "{$this->getNegationOperator()} ($expression)"; |
||
| 38 | } |
||
| 45 |