| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2.0116 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 23 | 18 | public function compile(ExpressionBuilder $builder, $table_name, $negate = false) { |
|
| 24 | 18 | if ($negate) { |
|
| 25 | throw \LogicException("NYI!"); |
||
| 26 | } |
||
| 27 | 18 | return $builder->andX |
|
| 28 | 18 | ( $this->left()->compile($builder, $table_name) |
|
| 29 | 18 | , $this->right()->compile($builder, $table_name, true) |
|
| 30 | 18 | ); |
|
| 31 | } |
||
| 32 | } |
||
| 33 |