Completed
Pull Request — master (#36)
by Raed
19:13
created
src/GeoRoutesServiceProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.