@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | { |
130 | 130 | $options = array_merge($this->options, $options); |
131 | 131 | |
132 | - $this->options = array_filter($options, function ($option) { |
|
132 | + $this->options = array_filter($options, function($option) { |
|
133 | 133 | return !is_null($option); |
134 | 134 | }); |
135 | 135 | } |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | |
196 | 196 | private function formatGeocodeResponse(stdClass $response): array |
197 | 197 | { |
198 | - return array_map(function ($result) { |
|
198 | + return array_map(function($result) { |
|
199 | 199 | $builder = new AddressBuilder($this->getName()); |
200 | 200 | $coordinates = $result->position; |
201 | 201 | $bounds = $result->viewport; |
@@ -223,7 +223,7 @@ discard block |
||
223 | 223 | |
224 | 224 | private function formatReverseGeocodeResponse(stdClass $response): array |
225 | 225 | { |
226 | - return array_filter(array_map(function ($address) { |
|
226 | + return array_filter(array_map(function($address) { |
|
227 | 227 | $coordinates = explode(',', $address->position); |
228 | 228 | $latitude = array_shift($coordinates); |
229 | 229 | $longitude = array_shift($coordinates); |