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.
Passed
Pull Request — master (#60)
by
unknown
10:05
created
src/CallWebhookJob.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,12 +73,12 @@  discard block
 block discarded – undo
73 73
                 'timeout' => $this->requestTimeout,
74 74
                 'verify' => $this->verifySsl,
75 75
                 'headers' => $this->headers,
76
-                'on_stats' => function (TransferStats $stats) {
76
+                'on_stats' => function(TransferStats $stats) {
77 77
                     
78 78
                     $this->response = $stats->getResponse();
79 79
                     $this->transferTime = $stats->getTransferTime();
80 80
 
81
-                    if (! Str::startsWith($this->response->getStatusCode(), 2)) {
81
+                    if (!Str::startsWith($this->response->getStatusCode(), 2)) {
82 82
                         throw new Exception('Webhook call failed');
83 83
                     }
84 84
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
                 $this->errorMessage = $exception->getMessage();
100 100
             }
101 101
 
102
-            if (! $lastAttempt) {
102
+            if (!$lastAttempt) {
103 103
                 /** @var \Spatie\WebhookServer\BackoffStrategy\BackoffStrategy $backoffStrategy */
104 104
                 $backoffStrategy = app($this->backoffStrategyClass);
105 105
 
Please login to merge, or discard this patch.