@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | $provider = $this->buildProvider($socialite, $providerName, $providerClass, $oauth1Server); |
40 | 40 | $socialite->extend( |
41 | 41 | $providerName, |
42 | - function () use ($provider) { |
|
42 | + function() use ($provider) { |
|
43 | 43 | return $provider; |
44 | 44 | } |
45 | 45 | ); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | { |
108 | 108 | try { |
109 | 109 | /** @var Contracts\ConfigInterface $config */ |
110 | - $config = $this->app->make(self::SERVICE_CONTAINER_PREFIX . $providerName); |
|
110 | + $config = $this->app->make(self::SERVICE_CONTAINER_PREFIX.$providerName); |
|
111 | 111 | |
112 | 112 | if (!($config instanceof Contracts\ConfigInterface)) { |
113 | 113 | throw new InvalidArgumentException('Config class does not implement config contract'); |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | |
116 | 116 | return $config->get(); |
117 | 117 | } catch (\ReflectionException $e) { |
118 | - return $this->app->offsetGet('config')['services.' . $providerName] ?: (new Config('foobar', 'foobar', 'foobar'))->get(); |
|
118 | + return $this->app->offsetGet('config')['services.'.$providerName] ?: (new Config('foobar', 'foobar', 'foobar'))->get(); |
|
119 | 119 | } |
120 | 120 | } |
121 | 121 | |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | private function classExtends($class, $baseClass) |
141 | 141 | { |
142 | 142 | if (false === is_subclass_of($class, $baseClass)) { |
143 | - $message = $class . ' does not extend ' . $baseClass; |
|
143 | + $message = $class.' does not extend '.$baseClass; |
|
144 | 144 | throw new InvalidArgumentException($message); |
145 | 145 | } |
146 | 146 | } |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | public static function serviceContainerKey($providerName) |
16 | 16 | { |
17 | - return SocialiteWasCalled::SERVICE_CONTAINER_PREFIX . $providerName; |
|
17 | + return SocialiteWasCalled::SERVICE_CONTAINER_PREFIX.$providerName; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |