Completed
Push — lonja/eduard ( 66fb34 )
by Albert
05:35
created
src/Calculator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.