@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | |
| 103 | 103 | public function useBackoffStrategy(string $backoffStrategyClass): self |
| 104 | 104 | { |
| 105 | - if (! is_subclass_of($backoffStrategyClass, BackoffStrategy::class)) { |
|
| 105 | + if (!is_subclass_of($backoffStrategyClass, BackoffStrategy::class)) { |
|
| 106 | 106 | throw InvalidBackoffStrategy::doesNotExtendBackoffStrategy($backoffStrategyClass); |
| 107 | 107 | } |
| 108 | 108 | |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | public function signUsing(string $signerClass): self |
| 122 | 122 | { |
| 123 | - if (! is_subclass_of($signerClass, Signer::class)) { |
|
| 123 | + if (!is_subclass_of($signerClass, Signer::class)) { |
|
| 124 | 124 | throw InvalidSigner::doesImplementSigner($signerClass); |
| 125 | 125 | } |
| 126 | 126 | |
@@ -187,7 +187,7 @@ discard block |
||
| 187 | 187 | |
| 188 | 188 | protected function prepareForDispatch(): void |
| 189 | 189 | { |
| 190 | - if (! $this->callWebhookJob->webhookUrl) { |
|
| 190 | + if (!$this->callWebhookJob->webhookUrl) { |
|
| 191 | 191 | throw CouldNotCallWebhook::urlNotSet(); |
| 192 | 192 | } |
| 193 | 193 | |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | { |
| 203 | 203 | $headers = $this->headers; |
| 204 | 204 | |
| 205 | - if (! $this->signWebhook) { |
|
| 205 | + if (!$this->signWebhook) { |
|
| 206 | 206 | return $headers; |
| 207 | 207 | } |
| 208 | 208 | |
@@ -73,7 +73,7 @@ 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 | $this->stats = $stats; |
| 78 | 78 | } |
| 79 | 79 | ], $body)); |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | $this->errorMessage = $exception->getMessage(); |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | - if (! $lastAttempt) { |
|
| 100 | + if (!$lastAttempt) { |
|
| 101 | 101 | /** @var \Spatie\WebhookServer\BackoffStrategy\BackoffStrategy $backoffStrategy */ |
| 102 | 102 | $backoffStrategy = app($this->backoffStrategyClass); |
| 103 | 103 | |