mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
parent
203584107f
commit
91e222f7a6
6 changed files with 21 additions and 18 deletions
|
|
@ -36,7 +36,7 @@ class BatteryLow extends Notification
|
|||
return (new MailMessage)->markdown('mail.battery-low', ['device' => $this->device]);
|
||||
}
|
||||
|
||||
public function toWebhook(object $notifiable)
|
||||
public function toWebhook(object $notifiable): \App\Notifications\Messages\WebhookMessage
|
||||
{
|
||||
return WebhookMessage::create()
|
||||
->data([
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue