@@ -41,7 +41,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -88,5 +88,5 @@ |
||
| 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 | } |
@@ -88,5 +88,5 @@ |
||
| 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 | } |
@@ -35,5 +35,5 @@ |
||
| 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 | } |
@@ -18,7 +18,7 @@ |
||
| 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 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | */ |
| 26 | 26 | public function sessionGet($var = null, $default = null) |
| 27 | 27 | { |
| 28 | - if($this->stateless) { |
|
| 28 | + if ($this->stateless) { |
|
| 29 | 29 | return $default; |
| 30 | 30 | } |
| 31 | 31 | |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | */ |
| 46 | 46 | protected function sessionPut($var, $value) |
| 47 | 47 | { |
| 48 | - if($this->stateless) { |
|
| 48 | + if ($this->stateless) { |
|
| 49 | 49 | return $value; |
| 50 | 50 | } |
| 51 | 51 | |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | */ |
| 65 | 65 | protected function sessionForget($var = null) |
| 66 | 66 | { |
| 67 | - if($this->stateless) { |
|
| 67 | + if ($this->stateless) { |
|
| 68 | 68 | return; |
| 69 | 69 | } |
| 70 | 70 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | ); |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - abstract protected function config($string, $children = []); |
|
| 76 | + abstract protected function config($string, $children = [ ]); |
|
| 77 | 77 | |
| 78 | 78 | abstract public function getRequest(); |
| 79 | 79 | } |