Passed
Pull Request — master (#36)
by Raed
03:05
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
             return new CallbacksRegistrar(config('geo-routes.routes.callbacks'));
39 39
         });
40 40
 
@@ -66,15 +66,15 @@  discard block
 block discarded – undo
66 66
      */
67 67
     protected function registerMacros()
68 68
     {
69
-        Route::macro('allowFrom', function (string ...$countries) {
69
+        Route::macro('allowFrom', function(string ...$countries) {
70 70
             return new GeoRoute($this, $countries, 'allow');
71 71
         });
72 72
 
73
-        Route::macro('denyFrom', function (string ...$countries) {
73
+        Route::macro('denyFrom', function(string ...$countries) {
74 74
             return new GeoRoute($this, $countries, 'deny');
75 75
         });
76 76
 
77
-        Route::macro('from', function (string ...$countries) {
77
+        Route::macro('from', function(string ...$countries) {
78 78
             return new GeoRoute($this, $countries, 'allow');
79 79
         });
80 80
     }
Please login to merge, or discard this patch.