@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | $formatted = $this->castResponseToType($response, $this->app['config']->get('response_type')); |
182 | 182 | |
183 | 183 | if (empty($result[$this->tokenKey])) { |
184 | - throw new HttpException('Request access_token fail: ' . json_encode($result, JSON_UNESCAPED_UNICODE), $response, $formatted); |
|
184 | + throw new HttpException('Request access_token fail: '.json_encode($result, JSON_UNESCAPED_UNICODE), $response, $formatted); |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | return $toArray ? $result : $formatted; |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | */ |
233 | 233 | protected function getCacheKey() |
234 | 234 | { |
235 | - return $this->cachePrefix . md5(json_encode($this->getCredentials())); |
|
235 | + return $this->cachePrefix.md5(json_encode($this->getCredentials())); |
|
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |