| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 36 | public function toSql(QueryBuilderRuleInterface $rule, bool $wrap = false): string { |
||
| 37 | |||
| 38 | $qbt = new ArrayQueryBuilderType(); |
||
| 39 | $tmp = $qbt->toSql($rule, true); |
||
| 40 | |||
| 41 | $sql = [ |
||
| 42 | parent::toSql($rule, $wrap), |
||
| 43 | str_replace("{{implode}}", " " . self::CONDITION_AND . " ", $tmp), |
||
| 44 | ]; |
||
| 45 | |||
| 46 | return implode(" ", $sql); |
||
| 47 | } |
||
| 48 | } |
||
| 49 |