| Conditions | 4 | 
| Paths | 2 | 
| Total Lines | 13 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 8 | 
| CRAP Score | 4 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 21 | 17 | protected function compile($expr, Context $context)  | 
            |
| 22 |     { | 
            ||
| 23 | 17 | $left = $context->getExpressionCompiler()->compile($expr->left);  | 
            |
| 24 | 17 | $right = $context->getExpressionCompiler()->compile($expr->right);  | 
            |
| 25 | |||
| 26 | 17 |         if ($left->isTypeKnown() && $right->isTypeKnown()) { | 
            |
| 27 | 16 | return CompiledExpression::fromZvalValue(  | 
            |
| 28 | 16 | $left->getValue() || $right->getValue()  | 
            |
| 29 | 16 | );  | 
            |
| 30 | }  | 
            ||
| 31 | |||
| 32 | 1 | return new CompiledExpression();  | 
            |
| 33 | }  | 
            ||
| 34 | }  | 
            ||
| 35 |