@@ -73,12 +73,12 @@ discard block |
||
| 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 | $response = $stats->getResponse(); |
| 79 | 79 | $this->stats = $stats; |
| 80 | 80 | |
| 81 | - if (! Str::startsWith($response->getStatusCode(), 2)) { |
|
| 81 | + if (!Str::startsWith($response->getStatusCode(), 2)) { |
|
| 82 | 82 | throw new Exception('Webhook call failed'); |
| 83 | 83 | } |
| 84 | 84 | |
@@ -99,7 +99,7 @@ discard block |
||
| 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 | |