rector: arrrrr

This commit is contained in:
Andras Bacsai
2025-01-07 14:52:08 +01:00
parent c702ebff6d
commit 16c0cd10d8
349 changed files with 4204 additions and 3712 deletions

View File

@@ -10,10 +10,10 @@ class SlackChannel
/**
* Send the given notification.
*/
public function send(SendsSlack $notifiable, Notification $notification): void
public function send(SendsSlack $sendsSlack, Notification $notification): void
{
$message = $notification->toSlack();
$slackSettings = $notifiable->slackNotificationSettings;
$slackSettings = $sendsSlack->slackNotificationSettings;
if (! $slackSettings || ! $slackSettings->isEnabled() || ! $slackSettings->slack_webhook_url) {
return;