Skip to content

Commit 69cc46c

Browse files
committed
Improve method name
1 parent dc6951f commit 69cc46c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Listeners/CheckoutableListener.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function onCheckedOut($event)
6969
return;
7070
}
7171

72-
$shouldSendEmailToUser = $this->shouldSendEmailToUser($event->checkoutable);
72+
$shouldSendEmailToUser = $this->shouldSendCheckoutEmailToUser($event->checkoutable);
7373
$shouldSendEmailToAlertAddress = $this->shouldSendEmailToAlertAddress();
7474
$shouldSendWebhookNotification = $this->shouldSendWebhookNotification();
7575

@@ -395,7 +395,7 @@ private function newMicrosoftTeamsWebhookEnabled(): bool
395395
return Setting::getSettings()->webhook_selected === 'microsoft' && Str::contains(Setting::getSettings()->webhook_endpoint, 'workflows');
396396
}
397397

398-
private function shouldSendEmailToUser(Model $checkoutable): bool
398+
private function shouldSendCheckoutEmailToUser(Model $checkoutable): bool
399399
{
400400
/**
401401
* Send an email if any of the following conditions are met:

0 commit comments

Comments
 (0)