@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | { |
35 | 35 | $router = $this->app->make('router'); |
36 | 36 | |
37 | - $this->app->singleton('georoutes.callbacks', function () { |
|
37 | + $this->app->singleton('georoutes.callbacks', function() { |
|
38 | 38 | $registrar = new CallbackRegistrar(); |
39 | 39 | $registrar->loadCallbacks(config('geo-routes.routes.callbacks')); |
40 | 40 | |
@@ -69,15 +69,15 @@ discard block |
||
69 | 69 | */ |
70 | 70 | protected function registerMacros() |
71 | 71 | { |
72 | - Route::macro('allowFrom', function (string ...$countries) { |
|
72 | + Route::macro('allowFrom', function(string ...$countries) { |
|
73 | 73 | return new GeoRoute($this, $countries, 'allow'); |
74 | 74 | }); |
75 | 75 | |
76 | - Route::macro('denyFrom', function (string ...$countries) { |
|
76 | + Route::macro('denyFrom', function(string ...$countries) { |
|
77 | 77 | return new GeoRoute($this, $countries, 'deny'); |
78 | 78 | }); |
79 | 79 | |
80 | - Route::macro('from', function (string ...$countries) { |
|
80 | + Route::macro('from', function(string ...$countries) { |
|
81 | 81 | return new GeoRoute($this, $countries, 'allow'); |
82 | 82 | }); |
83 | 83 | } |