Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 18 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | */ |
||
17 | protected function process($a, $b) |
||
18 | { |
||
19 | return $a - $b; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return array |
||
24 | */ |
||
25 | protected function getSupportedTypes() |
||
26 | { |
||
27 | return [ |
||
28 | CompiledExpression::INTEGER, |
||
29 | CompiledExpression::DOUBLE, |
||
30 | CompiledExpression::BOOLEAN, |
||
31 | ]; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param Node\Scalar $a |
||
36 | * @param Node\Scalar $b |
||
37 | * @return Node\Expr\BinaryOp\Minus |
||
44 |