@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | { |
| 16 | 16 | if ($this->app instanceof \Illuminate\Foundation\Application) { |
| 17 | 17 | // Laravel |
| 18 | - $this->app->booted(function () { |
|
| 18 | + $this->app->booted(function() { |
|
| 19 | 19 | $socialiteWasCalled = app(SocialiteWasCalled::class); |
| 20 | 20 | |
| 21 | 21 | event($socialiteWasCalled); |
@@ -35,11 +35,11 @@ discard block |
||
| 35 | 35 | { |
| 36 | 36 | parent::register(); |
| 37 | 37 | |
| 38 | - if (class_exists('Laravel\Lumen\Application') && ! defined('SOCIALITEPROVIDERS_STATELESS')) { |
|
| 38 | + if (class_exists('Laravel\Lumen\Application') && !defined('SOCIALITEPROVIDERS_STATELESS')) { |
|
| 39 | 39 | define('SOCIALITEPROVIDERS_STATELESS', true); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - if (! $this->app->bound(ConfigRetrieverInterface::class)) { |
|
| 42 | + if (!$this->app->bound(ConfigRetrieverInterface::class)) { |
|
| 43 | 43 | $this->app->singleton(ConfigRetrieverInterface::class, fn() => new ConfigRetriever()); |
| 44 | 44 | } |
| 45 | 45 | } |
@@ -86,12 +86,12 @@ |
||
| 86 | 86 | $keyExists = array_key_exists($key, $this->servicesArray); |
| 87 | 87 | |
| 88 | 88 | // ADDITIONAL value is empty |
| 89 | - if (! $keyExists && $this->isAdditionalConfig($key)) { |
|
| 89 | + if (!$keyExists && $this->isAdditionalConfig($key)) { |
|
| 90 | 90 | return $key == 'guzzle' ? [] : null; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | // REQUIRED value is empty |
| 94 | - if (! $keyExists) { |
|
| 94 | + if (!$keyExists) { |
|
| 95 | 95 | throw new MissingConfigException("Missing services entry for {$this->providerName}.$key"); |
| 96 | 96 | } |
| 97 | 97 | |