@@ -26,7 +26,7 @@ |
||
26 | 26 | */ |
27 | 27 | public static function sum(array $prices): self |
28 | 28 | { |
29 | - return array_reduce($prices, function (self $carry, self $price) { |
|
29 | + return array_reduce($prices, function(self $carry, self $price) { |
|
30 | 30 | return $carry->add($price); |
31 | 31 | }, new self('0')); |
32 | 32 | } |