@@ -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 | |
@@ -25,5 +25,5 @@ |
||
| 25 | 25 | return $this->auth; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - abstract public function config($string, $children = []); |
|
| 28 | + abstract public function config($string, $children = [ ]); |
|
| 29 | 29 | } |
@@ -61,7 +61,7 @@ |
||
| 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 | } |
@@ -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 | } |
@@ -14,14 +14,14 @@ |
||
| 14 | 14 | * |
| 15 | 15 | * @return mixed |
| 16 | 16 | */ |
| 17 | - protected function config($string, $children = []) |
|
| 17 | + protected function config($string, $children = [ ]) |
|
| 18 | 18 | { |
| 19 | 19 | if (is_null(config($config = Constants::CONFIG_PACKAGE_NAME))) { |
| 20 | 20 | throw new \Exception("Config ({$config}.php) not found. Have you published it?"); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | return config( |
| 24 | - implode('.', array_merge([Constants::CONFIG_PACKAGE_NAME, $string], (array) $children)) |
|
| 24 | + implode('.', array_merge([ Constants::CONFIG_PACKAGE_NAME, $string ], (array) $children)) |
|
| 25 | 25 | ); |
| 26 | 26 | } |
| 27 | 27 | } |