Completed
Push — master ( 878f32...b5f5bc )
by Antonio Carlos
03:59
created
src/ServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function provides()
43 43
     {
44
-        return ['pragmarx.google2fa'];
44
+        return [ 'pragmarx.google2fa' ];
45 45
     }
46 46
 
47 47
     /**
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      */
52 52
     public function register()
53 53
     {
54
-        $this->app->singleton('pragmarx.google2fa', function ($app) {
54
+        $this->app->singleton('pragmarx.google2fa', function($app) {
55 55
             return $app->make(Google2FA::class);
56 56
         });
57 57
 
Please login to merge, or discard this patch.
src/Support/Session.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         );
62 62
     }
63 63
 
64
-    abstract protected function config($string, $children = []);
64
+    abstract protected function config($string, $children = [ ]);
65 65
 
66 66
     abstract public function getRequest();
67 67
 }
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
      *
10 10
      * @param null $name
11 11
      *
12
-     * @return mixed
12
+     * @return string
13 13
      */
14 14
     protected function makeSessionVarName($name = null)
15 15
     {
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
      * Get a session var value.
21 21
      *
22 22
      * @param null $var
23
+     * @param boolean $default
23 24
      *
24 25
      * @return mixed
25 26
      */
@@ -73,6 +74,9 @@  discard block
 block discarded – undo
73 74
         );
74 75
     }
75 76
 
77
+    /**
78
+     * @param string $string
79
+     */
76 80
     abstract protected function config($string, $children = []);
77 81
 
78 82
     abstract public function getRequest();
Please login to merge, or discard this patch.
src/Support/Response.php 2 patches
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.
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * Make a JSON response.
15 15
      *
16
-     * @param $statusCode
16
+     * @param integer $statusCode
17 17
      *
18 18
      * @return IlluminateJsonResponse
19 19
      */
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * Make a web response.
43 43
      *
44
-     * @param $statusCode
44
+     * @param integer $statusCode
45 45
      *
46 46
      * @return \Illuminate\Http\Response
47 47
      */
@@ -98,5 +98,10 @@  discard block
 block discarded – undo
98 98
 
99 99
     abstract public function getRequest();
100 100
 
101
+    /**
102
+     * @param string $string
103
+     *
104
+     * @return string|null
105
+     */
101 106
     abstract protected function config($string, $children = []);
102 107
 }
Please login to merge, or discard this patch.
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/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 public function config($string, $children = []);
38
+    abstract public function config($string, $children = [ ]);
39 39
 }
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.