@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | $city_id = $city->getCityId(); |
28 | 28 | $van_costs = $this->calculateVanLoadingCostsForCity($city) |
29 | 29 | $earnings[$city_id] = $this->calculateEarningsForSellingSeaFoodsToThisCity($city); |
30 | - $earnings[$city_id] -= ($van_costs, ) |
|
30 | + $earnings[$city_id] -= ($van_costs,) |
|
31 | 31 | |
32 | 32 | } |
33 | 33 | } |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | private function getSeaFoodCityPrice(City $city, SeaFood $seafood) |
60 | 60 | { |
61 | - foreach($this->seafood_prices as $seafood_price) |
|
61 | + foreach ($this->seafood_prices as $seafood_price) |
|
62 | 62 | { |
63 | 63 | |
64 | 64 | } |