@@ -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(); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | protected $config; |
13 | 13 | |
14 | 14 | /** |
15 | - * @param \SocialiteProviders\Manager\Contracts\OAuth1\ProviderInterface|\SocialiteProviders\Manager\Contracts\OAuth2\ProviderInterface $config |
|
15 | + * @param ConfigInterface $config |
|
16 | 16 | */ |
17 | 17 | public function setConfig(ConfigInterface $config) |
18 | 18 | { |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | $this->getFromServices('client_id'), |
49 | 49 | $this->getFromServices('client_secret'), |
50 | 50 | $this->getFromServices('redirect'), |
51 | - $this->getConfigItems($additionalConfigKeys, function ($key) { |
|
51 | + $this->getConfigItems($additionalConfigKeys, function($key) { |
|
52 | 52 | return $this->getFromServices(strtolower($key)); |
53 | 53 | }) |
54 | 54 | ); |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | |
96 | 96 | // ADDITIONAL value is empty |
97 | 97 | if (!$keyExists && $this->isAdditionalConfig($key)) { |
98 | - return $key == 'guzzle' ? [] : null ; |
|
98 | + return $key == 'guzzle' ? [] : null; |
|
99 | 99 | } |
100 | 100 | |
101 | 101 | // REQUIRED value is empty |
@@ -13,7 +13,7 @@ discard block |
||
13 | 13 | */ |
14 | 14 | public function boot() |
15 | 15 | { |
16 | - $this->app->booted(function () { |
|
16 | + $this->app->booted(function() { |
|
17 | 17 | $socialiteWasCalled = app(SocialiteWasCalled::class); |
18 | 18 | |
19 | 19 | event($socialiteWasCalled); |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | } |
33 | 33 | |
34 | 34 | if (!$this->app->bound(ConfigRetrieverInterface::class)) { |
35 | - $this->app->singleton(ConfigRetrieverInterface::class, function () { |
|
35 | + $this->app->singleton(ConfigRetrieverInterface::class, function() { |
|
36 | 36 | return new ConfigRetriever(); |
37 | 37 | }); |
38 | 38 | } |