@@ -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 | |
@@ -92,14 +92,14 @@ |
||
| 92 | 92 | * |
| 93 | 93 | * @return mixed |
| 94 | 94 | */ |
| 95 | - protected function config($string, $children = []) |
|
| 95 | + protected function config($string, $children = [ ]) |
|
| 96 | 96 | { |
| 97 | 97 | if (is_null(config(static::CONFIG_PACKAGE_NAME))) { |
| 98 | 98 | throw new \Exception('Config not found'); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | 101 | return config( |
| 102 | - implode('.', array_merge([static::CONFIG_PACKAGE_NAME, $string], (array) $children)) |
|
| 102 | + implode('.', array_merge([ static::CONFIG_PACKAGE_NAME, $string ], (array) $children)) |
|
| 103 | 103 | ); |
| 104 | 104 | } |
| 105 | 105 | |