Fix styling

This commit is contained in:
Thijmen
2024-06-10 20:43:34 +00:00
committed by github-actions[bot]
parent 41fb6a1fc9
commit d86274cc37
429 changed files with 5307 additions and 2831 deletions

View File

@@ -13,6 +13,7 @@ class GeneralNotification extends Notification implements ShouldQueue
use Queueable;
public $tries = 1;
public function __construct(public string $message)
{
}
@@ -29,6 +30,7 @@ class GeneralNotification extends Notification implements ShouldQueue
if ($isTelegramEnabled) {
$channels[] = TelegramChannel::class;
}
return $channels;
}
@@ -36,10 +38,11 @@ class GeneralNotification extends Notification implements ShouldQueue
{
return $this->message;
}
public function toTelegram(): array
{
return [
"message" => $this->message,
'message' => $this->message,
];
}
}