mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-10 14:44:26 +00:00
More PHP8.4 updates
This commit is contained in:
@@ -42,11 +42,8 @@ class VersionCheckResult extends Notification
|
||||
{
|
||||
use Queueable;
|
||||
|
||||
private string $message;
|
||||
|
||||
public function __construct(string $message)
|
||||
public function __construct(private string $message)
|
||||
{
|
||||
$this->message = $message;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -63,7 +60,7 @@ class VersionCheckResult extends Notification
|
||||
*/
|
||||
public function toMail(OwnerNotifiable $notifiable): MailMessage
|
||||
{
|
||||
return (new MailMessage())
|
||||
return new MailMessage()
|
||||
->markdown('emails.new-version', ['message' => $this->message])
|
||||
->subject((string) trans('email.new_version_email_subject'))
|
||||
;
|
||||
|
Reference in New Issue
Block a user