@@ -73,11 +73,11 @@ 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 | $this->stats = $stats; |
| 79 | 79 | |
| 80 | - if (! Str::startsWith($this->response->getStatusCode(), 2)) { |
|
| 80 | + if (!Str::startsWith($this->response->getStatusCode(), 2)) { |
|
| 81 | 81 | throw new Exception('Webhook call failed'); |
| 82 | 82 | } |
| 83 | 83 | |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | $this->errorMessage = $exception->getMessage(); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | - if (! $lastAttempt) { |
|
| 101 | + if (!$lastAttempt) { |
|
| 102 | 102 | /** @var \Spatie\WebhookServer\BackoffStrategy\BackoffStrategy $backoffStrategy */ |
| 103 | 103 | $backoffStrategy = app($this->backoffStrategyClass); |
| 104 | 104 | |