@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | $table = $node->filter('table')->eq(1); |
| 21 | 21 | |
| 22 | - return $table->filter('tbody > tr')->each(function (Crawler $row) { |
|
| 22 | + return $table->filter('tbody > tr')->each(function(Crawler $row) { |
|
| 23 | 23 | $cols = $row->children(); |
| 24 | 24 | |
| 25 | 25 | return new DeliveryOption( |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | public function map(array $data) |
| 18 | 18 | { |
| 19 | - return array_map(function ($location) { |
|
| 19 | + return array_map(function($location) { |
|
| 20 | 20 | return new Location($location['label'], $location['code']); |
| 21 | 21 | }, $data); |
| 22 | 22 | } |