@@ -36,7 +36,7 @@ |
||
| 36 | 36 | { |
| 37 | 37 | $x = 0; |
| 38 | 38 | foreach ($this->items as $item) { |
| 39 | - $x += (int) $item['number']; |
|
| 39 | + $x += (int)$item['number']; |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | return $x; |
@@ -54,6 +54,6 @@ |
||
| 54 | 54 | // receive drinks |
| 55 | 55 | $drinks = $cafe->receiveDelivery(); |
| 56 | 56 | } |
| 57 | -} else { |
|
| 57 | +}else { |
|
| 58 | 58 | throw new RuntimeException('Could not get CafeGateway'); |
| 59 | 59 | } |