@@ -26,7 +26,7 @@ |
||
26 | 26 | true, |
27 | 27 | env('GOOGLE_MAPS_API_KEY'), |
28 | 28 | ], |
29 | - FreeGeoIp::class => [], |
|
29 | + FreeGeoIp::class => [ ], |
|
30 | 30 | ], |
31 | 31 | BingMaps::class => [ |
32 | 32 | 'en-US', |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | public function boot() |
36 | 36 | { |
37 | 37 | $configPath = __DIR__ . '/../../config/geocoder.php'; |
38 | - $this->publishes([$configPath => config_path('geocoder.php')], 'config'); |
|
38 | + $this->publishes([ $configPath => config_path('geocoder.php') ], 'config'); |
|
39 | 39 | $this->mergeConfigFrom($configPath, 'geocoder'); |
40 | 40 | } |
41 | 41 | |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | public function register() |
48 | 48 | { |
49 | 49 | $this->app->alias('Geocoder', Geocoder::class); |
50 | - $this->app->singleton('geocoder', function () { |
|
50 | + $this->app->singleton('geocoder', function() { |
|
51 | 51 | $geocoder = new ProviderAndDumperAggregator(); |
52 | 52 | $geocoder->registerProviders( |
53 | 53 | $this->getProviders(collect(config('geocoder.providers'))) |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | */ |
66 | 66 | private function getProviders(Collection $providers) |
67 | 67 | { |
68 | - $providers = $providers->map(function ($arguments, $provider) { |
|
68 | + $providers = $providers->map(function($arguments, $provider) { |
|
69 | 69 | $arguments = $this->getArguments($arguments, $provider); |
70 | 70 | $reflection = new ReflectionClass($provider); |
71 | 71 | |
@@ -133,6 +133,6 @@ discard block |
||
133 | 133 | */ |
134 | 134 | public function provides() |
135 | 135 | { |
136 | - return ['geocoder']; |
|
136 | + return [ 'geocoder' ]; |
|
137 | 137 | } |
138 | 138 | } |
@@ -63,7 +63,7 @@ |
||
63 | 63 | $dumper = new $dumperClass; |
64 | 64 | $results = collect($this->results->all()); |
65 | 65 | |
66 | - return $results->map(function ($result) use ($dumper) { |
|
66 | + return $results->map(function($result) use ($dumper) { |
|
67 | 67 | return $dumper->dump($result); |
68 | 68 | }); |
69 | 69 | } |