@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | public function user() |
| 37 | 37 | { |
| 38 | - if (! $this->hasNecessaryVerifier()) { |
|
| 38 | + if (!$this->hasNecessaryVerifier()) { |
|
| 39 | 39 | throw new \InvalidArgumentException('Invalid request. Missing OAuth verifier.'); |
| 40 | 40 | } |
| 41 | 41 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | if ($user instanceof User) { |
| 50 | 50 | parse_str($token['credentialsResponseBody'], $credentialsResponseBody); |
| 51 | 51 | |
| 52 | - if (! $credentialsResponseBody || ! is_array($credentialsResponseBody)) { |
|
| 52 | + if (!$credentialsResponseBody || !is_array($credentialsResponseBody)) { |
|
| 53 | 53 | throw new CredentialsException('Unable to parse token credentials response.'); |
| 54 | 54 | } |
| 55 | 55 | |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | */ |
| 84 | 84 | public function redirect() |
| 85 | 85 | { |
| 86 | - if (! $this->isStateless()) { |
|
| 86 | + if (!$this->isStateless()) { |
|
| 87 | 87 | $this->request->getSession()->put( |
| 88 | 88 | 'oauth.temp', $temp = $this->server->getTemporaryCredentials() |
| 89 | 89 | ); |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | */ |
| 103 | 103 | protected function getToken() |
| 104 | 104 | { |
| 105 | - if (! $this->isStateless()) { |
|
| 105 | + if (!$this->isStateless()) { |
|
| 106 | 106 | $temp = $this->request->getSession()->get('oauth.temp'); |
| 107 | 107 | |
| 108 | 108 | return $this->server->getTokenCredentials( |