Test Failed
Pull Request — master (#1684)
by
unknown
17:24
created
src/Kernel/AccessToken.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.