Skip to content

Commit 51b6a6f

Browse files
committed
fix naming
1 parent 99b8ef5 commit 51b6a6f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Listeners/AccountApplicationDeauthorized.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Finller\Stripe\Traits\ListenAccountApplicationEvents;
66
use Illuminate\Contracts\Queue\ShouldQueue;
77
use Spatie\WebhookClient\Models\WebhookCall;
8-
use Stripe\Account;
98

109
/**
1110
* @see https://docs.stripe.com/connect/webhooks
@@ -26,7 +25,7 @@ public function handle(WebhookCall $event): void
2625
{
2726
$model = $this->getModelFromEvent($event);
2827

29-
if (! $model) {
28+
if (!$model) {
3029
return;
3130
}
3231

src/Traits/ListenApplicationEvents.php renamed to src/Traits/ListenAccountApplicationEvents.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function getModelFromEvent(WebhookCall $event): ?Model
2626
{
2727
$stripeEvent = $this->getStripeEvent($event);
2828

29-
if (! $stripeEvent?->account) {
29+
if (!$stripeEvent?->account) {
3030
return null;
3131
}
3232

0 commit comments

Comments
 (0)