GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 8c165c...3672d8 )
by Cees-Jan
10:31 queued 08:50
created
src/ResponseCacheMiddleware.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace WyriHaximus\React\Http\Middleware;
4 4
 
@@ -47,17 +47,17 @@  discard block
 block discarded – undo
47 47
 
48 48
         $key = $uri;
49 49
 
50
-        return $this->cache->get($key)->then(function ($json) {
50
+        return $this->cache->get($key)->then(function($json) {
51 51
             $cachedResponse = json_decode($json);
52 52
 
53
-            return new Response($cachedResponse->code, (array)$cachedResponse->headers, stream_for($cachedResponse->body));
54
-        }, function () use ($next, $request, $key) {
55
-            return resolve($next($request))->then(function (ResponseInterface $response) use ($key) {
53
+            return new Response($cachedResponse->code, (array) $cachedResponse->headers, stream_for($cachedResponse->body));
54
+        }, function() use ($next, $request, $key) {
55
+            return resolve($next($request))->then(function(ResponseInterface $response) use ($key) {
56 56
                 if ($response->getBody() instanceof HttpBodyStream) {
57 57
                     return $response;
58 58
                 }
59 59
 
60
-                $body = (string)$response->getBody();
60
+                $body = (string) $response->getBody();
61 61
                 $headers = [];
62 62
                 foreach ($this->headers as $header) {
63 63
                     if (!$response->hasHeader($header)) {
Please login to merge, or discard this patch.