diff --git a/src/Exceptions/InvalidConfig.php b/src/Exceptions/InvalidConfig.php index 47dfaff..3d91112 100644 --- a/src/Exceptions/InvalidConfig.php +++ b/src/Exceptions/InvalidConfig.php @@ -4,9 +4,9 @@ use Exception; use Spatie\WebhookClient\ProcessWebhookJob; +use Spatie\WebhookClient\WebhookStore\WebhookStore; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; use Spatie\WebhookClient\SignatureValidator\SignatureValidator; -use Spatie\WebhookClient\WebhookStore\WebhookStore; class InvalidConfig extends Exception { diff --git a/src/WebhookConfig.php b/src/WebhookConfig.php index 05e5410..3c513a8 100644 --- a/src/WebhookConfig.php +++ b/src/WebhookConfig.php @@ -3,9 +3,9 @@ namespace Spatie\WebhookClient; use Spatie\WebhookClient\Exceptions\InvalidConfig; +use Spatie\WebhookClient\WebhookStore\WebhookStore; use Spatie\WebhookClient\WebhookProfile\WebhookProfile; use Spatie\WebhookClient\SignatureValidator\SignatureValidator; -use Spatie\WebhookClient\WebhookStore\WebhookStore; class WebhookConfig { diff --git a/src/WebhookProcessor.php b/src/WebhookProcessor.php index 9c10c17..d7880f1 100644 --- a/src/WebhookProcessor.php +++ b/src/WebhookProcessor.php @@ -56,7 +56,6 @@ protected function guardAgainstInvalidSignature() return $this; } - protected function processWebhook(WebhookCall $webhookCall): void { try { diff --git a/tests/WebhookConfigTest.php b/tests/WebhookConfigTest.php index 3d92e08..dcc8cb0 100644 --- a/tests/WebhookConfigTest.php +++ b/tests/WebhookConfigTest.php @@ -5,10 +5,10 @@ use Spatie\WebhookClient\WebhookConfig; use Spatie\WebhookClient\Models\WebhookCall; use Spatie\WebhookClient\Exceptions\InvalidConfig; +use Spatie\WebhookClient\WebhookStore\DefaultWebhookStore; use Spatie\WebhookClient\SignatureValidator\DefaultSignatureValidator; use Spatie\WebhookClient\Tests\TestClasses\ProcessWebhookJobTestClass; use Spatie\WebhookClient\WebhookProfile\ProcessEverythingWebhookProfile; -use Spatie\WebhookClient\WebhookStore\DefaultWebhookStore; class WebhookConfigTest extends TestCase {