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 ( b045b2...b2e56e )
by
unknown
15s queued 11s
created
src/Middleware/RequestTimeMiddleware.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function __invoke(callable $handler) : \Closure
35 35
     {
36
-        return function (RequestInterface $request, array $options) use ($handler) {
36
+        return function(RequestInterface $request, array $options) use ($handler) {
37 37
             $options['on_stats'] = $this->getOnStatsCallback(
38 38
                 isset($options['on_stats']) ? $options['on_stats'] : null,
39 39
                 isset($options['request_id']) ? $options['request_id'] : null
@@ -55,15 +55,15 @@  discard block
 block discarded – undo
55 55
      */
56 56
     protected function getOnStatsCallback($initialOnStats, $requestId) : \Closure
57 57
     {
58
-        return function (TransferStats $stats) use ($initialOnStats, $requestId) {
58
+        return function(TransferStats $stats) use ($initialOnStats, $requestId) {
59 59
             if (is_callable($initialOnStats)) {
60 60
                 call_user_func($initialOnStats, $stats);
61 61
             }
62 62
 
63
-            $this->dataCollector->addTotalTime((float)$stats->getTransferTime());
63
+            $this->dataCollector->addTotalTime((float) $stats->getTransferTime());
64 64
 
65 65
             if (($this->logger instanceof Logger) && $requestId) {
66
-                $this->logger->addTransferTimeByRequestId($requestId, (float)$stats->getTransferTime());
66
+                $this->logger->addTransferTimeByRequestId($requestId, (float) $stats->getTransferTime());
67 67
             }
68 68
         };
69 69
     }
Please login to merge, or discard this patch.