This commit is contained in:
salam committed 2026-02-08 08:12:57 +01:00
1 parent e97c7cd0f4
commit 95315d1453
8 files changed
+90 -72

No files matched your search

+6 -2
View File
@@ -14,11 +14,15 @@ class UserNotification extends Mailable
protected string $message;
protected string $subject;
/**
* Create a new message instance.
*/
public function __construct($message)
public function __construct($subject, $message)
{
$this->subject = $subject;
$this->message = $message;
}
@@ -28,7 +32,7 @@ class UserNotification extends Mailable
public function envelope(): Envelope
{
return new Envelope(
subject: 'NUH-Odds Notification',
subject: $this->subject,
);
}