@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | $instruction = $node->getInstruction($this); |
23 | 23 | |
24 | - if(!isset($instruction->date) && !isset($instruction->input)) { |
|
24 | + if (!isset($instruction->date) && !isset($instruction->input)) { |
|
25 | 25 | return; |
26 | 26 | } |
27 | 27 |
@@ -42,8 +42,7 @@ |
||
42 | 42 | } |
43 | 43 | |
44 | 44 | $result = $currency ? |
45 | - $number->formatCurrency($instruction->input, $currency) : |
|
46 | - $number->format($instruction->input); |
|
45 | + $number->formatCurrency($instruction->input, $currency) : $number->format($instruction->input); |
|
47 | 46 | |
48 | 47 | $node->setResult($result); |
49 | 48 | } |