@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | */ |
44 | 44 | public function user() |
45 | 45 | { |
46 | - if (! $this->hasNecessaryVerifier()) { |
|
46 | + if (!$this->hasNecessaryVerifier()) { |
|
47 | 47 | throw new InvalidArgumentException('Invalid request. Missing OAuth verifier.'); |
48 | 48 | } |
49 | 49 | |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | if ($user instanceof User) { |
58 | 58 | parse_str((string) $token['credentialsResponseBody'], $credentialsResponseBody); |
59 | 59 | |
60 | - if (! $credentialsResponseBody || ! is_array($credentialsResponseBody)) { |
|
60 | + if (!$credentialsResponseBody || !is_array($credentialsResponseBody)) { |
|
61 | 61 | throw new CredentialsException('Unable to parse token credentials response.'); |
62 | 62 | } |
63 | 63 | |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | */ |
92 | 92 | public function redirect() |
93 | 93 | { |
94 | - if (! $this->isStateless()) { |
|
94 | + if (!$this->isStateless()) { |
|
95 | 95 | $this->request->getSession()->put( |
96 | 96 | 'oauth.temp', $temp = $this->server->getTemporaryCredentials() |
97 | 97 | ); |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | */ |
161 | 161 | protected function getToken() |
162 | 162 | { |
163 | - if (! $this->isStateless()) { |
|
163 | + if (!$this->isStateless()) { |
|
164 | 164 | $temp = $this->request->getSession()->get('oauth.temp'); |
165 | 165 | |
166 | 166 | return $this->server->getTokenCredentials( |