Completed
Pull Request — master (#183)
by
unknown
09:04
created
src/Support/Input.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,5 +88,5 @@
 block discarded – undo
88 88
 
89 89
     abstract public function getRequest();
90 90
 
91
-    abstract protected function config($string, $children = []);
91
+    abstract protected function config($string, $children = [ ]);
92 92
 }
Please login to merge, or discard this patch.
src/Support/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         }
19 19
 
20 20
         return config(
21
-            implode('.', [Constants::CONFIG_PACKAGE_NAME, $string]),
21
+            implode('.', [ Constants::CONFIG_PACKAGE_NAME, $string ]),
22 22
             $default
23 23
         );
24 24
     }
Please login to merge, or discard this patch.
src/Support/Session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         return $this;
93 93
     }
94 94
 
95
-    abstract protected function config($string, $children = []);
95
+    abstract protected function config($string, $children = [ ]);
96 96
 
97 97
     abstract public function getRequest();
98 98
 }
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
      */
34 34
     public function register()
35 35
     {
36
-        $this->app->singleton('pragmarx.google2fa', function ($app) {
36
+        $this->app->singleton('pragmarx.google2fa', function($app) {
37 37
             return $app->make(Google2FA::class);
38 38
         });
39 39
     }
Please login to merge, or discard this patch.
src/Support/Auth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,5 +35,5 @@
 block discarded – undo
35 35
         return $this->getAuth()->user();
36 36
     }
37 37
 
38
-    abstract protected function config($string, $children = []);
38
+    abstract protected function config($string, $children = [ ]);
39 39
 }
Please login to merge, or discard this patch.
src/Support/ErrorBag.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
         return $this->createErrorBagForMessage(
39 39
             trans(
40 40
                 config(
41
-                    array_key_exists($statusCode, $errorMap) ? $errorMap[$statusCode] : 'google2fa.error_messages.unknown',
41
+                    array_key_exists($statusCode, $errorMap) ? $errorMap[ $statusCode ] : 'google2fa.error_messages.unknown',
42 42
                     'google2fa.error_messages.unknown'
43 43
                 )
44 44
             )
Please login to merge, or discard this patch.
src/Support/Response.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         );
76 76
 
77 77
         if ($this->config('custom_response')) {
78
-            return call_user_func_array($this->config('custom_response'), [$this->getUser()]);
78
+            return call_user_func_array($this->config('custom_response'), [ $this->getUser() ]);
79 79
         }
80 80
 
81 81
         $expectJson = app()->version() < '5.4'
@@ -107,5 +107,5 @@  discard block
 block discarded – undo
107 107
 
108 108
     abstract public function getRequest();
109 109
 
110
-    abstract protected function config($string, $children = []);
110
+    abstract protected function config($string, $children = [ ]);
111 111
 }
Please login to merge, or discard this patch.