@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | |
| 16 | 16 | final class SteppedBillInterpreter extends AbstractBillInterpreter |
| 17 | 17 | { |
| 18 | - private const EXPRESSION = Expr::POSITIVE_NUMBER . |
|
| 18 | + private const EXPRESSION = Expr::POSITIVE_NUMBER . |
|
| 19 | 19 | Expr::COMMA . |
| 20 | 20 | Expr::POSITIVE_NUMBER . |
| 21 | 21 | '\+'; |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | $billPerStep = $matches[1]; |
| 38 | 38 | $step = $matches[2]; |
| 39 | 39 | |
| 40 | - while($amount > 0) { |
|
| 40 | + while ($amount > 0) { |
|
| 41 | 41 | $bill += $billPerStep; |
| 42 | 42 | $amount -= $step; |
| 43 | 43 | } |