@@ -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 CallbacksRegistrar(); |
| 39 | 39 | #Load the configuration callbacks. |
| 40 | 40 | $registrar->loadCallbacks(config('geo-routes.routes.callbacks')); |
@@ -70,15 +70,15 @@ discard block |
||
| 70 | 70 | */ |
| 71 | 71 | protected function registerMacros() |
| 72 | 72 | { |
| 73 | - Route::macro('allowFrom', function (string ...$countries) { |
|
| 73 | + Route::macro('allowFrom', function(string ...$countries) { |
|
| 74 | 74 | return new GeoRoute($this, $countries, 'allow'); |
| 75 | 75 | }); |
| 76 | 76 | |
| 77 | - Route::macro('denyFrom', function (string ...$countries) { |
|
| 77 | + Route::macro('denyFrom', function(string ...$countries) { |
|
| 78 | 78 | return new GeoRoute($this, $countries, 'deny'); |
| 79 | 79 | }); |
| 80 | 80 | |
| 81 | - Route::macro('from', function (string ...$countries) { |
|
| 81 | + Route::macro('from', function(string ...$countries) { |
|
| 82 | 82 | return new GeoRoute($this, $countries, 'allow'); |
| 83 | 83 | }); |
| 84 | 84 | } |