| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 2.3149 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | 1 | protected function compile($expr, Context $context) |
|
| 23 | { |
||
| 24 | 1 | $expressionCompiler = $context->getExpressionCompiler(); |
|
| 25 | |||
| 26 | 1 | foreach ($expr->vars as $var) { |
|
| 27 | 1 | $expressionCompiler->compile($var); |
|
| 28 | } |
||
| 29 | |||
| 30 | return new CompiledExpression( |
||
| 31 | CompiledExpression::BOOLEAN |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |