@@ -59,7 +59,7 @@ |
||
| 59 | 59 | |
| 60 | 60 | $socialite->extend( |
| 61 | 61 | $providerName, |
| 62 | - function () use ($socialite, $providerName, $providerClass, $oauth1Server) { |
|
| 62 | + function() use ($socialite, $providerName, $providerClass, $oauth1Server) { |
|
| 63 | 63 | $provider = $this->buildProvider($socialite, $providerName, $providerClass, $oauth1Server); |
| 64 | 64 | if (defined('SOCIALITEPROVIDERS_STATELESS') && SOCIALITEPROVIDERS_STATELESS) { |
| 65 | 65 | return $provider->stateless(); |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | $this->getFromServices('client_id'), |
| 48 | 48 | $this->getFromServices('client_secret'), |
| 49 | 49 | $this->getFromServices('redirect'), |
| 50 | - $this->getConfigItems($additionalConfigKeys, function ($key) { |
|
| 50 | + $this->getConfigItems($additionalConfigKeys, function($key) { |
|
| 51 | 51 | return $this->getFromServices(strtolower($key)); |
| 52 | 52 | }) |
| 53 | 53 | ); |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | /** |
| 87 | 87 | * @param string $key |
| 88 | 88 | * |
| 89 | - * @return string|array|null |
|
| 89 | + * @return string |
|
| 90 | 90 | * |
| 91 | 91 | * @throws MissingConfigException |
| 92 | 92 | */ |
@@ -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); |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | if (!$this->app->bound(ConfigRetrieverInterface::class)) { |
| 43 | - $this->app->singleton(ConfigRetrieverInterface::class, function () { |
|
| 43 | + $this->app->singleton(ConfigRetrieverInterface::class, function() { |
|
| 44 | 44 | return new ConfigRetriever(); |
| 45 | 45 | }); |
| 46 | 46 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | public static function serviceContainerKey($providerName): string |
| 37 | 37 | { |
| 38 | - return SocialiteWasCalled::SERVICE_CONTAINER_PREFIX . $providerName; |
|
| 38 | + return SocialiteWasCalled::SERVICE_CONTAINER_PREFIX.$providerName; |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | /** |