More PHP8.4 updates

This commit is contained in:
James Cole
2025-05-04 13:47:00 +02:00
parent e42107c03c
commit 51e86448c7
195 changed files with 524 additions and 715 deletions

View File

@@ -43,11 +43,8 @@ class UserNewPassword extends Notification
{
use Queueable;
private string $url;
public function __construct(string $url)
public function __construct(private string $url)
{
$this->url = $url;
}
/**
@@ -69,7 +66,7 @@ class UserNewPassword extends Notification
$userAgent = Request::userAgent();
$time = now(config('app.timezone'))->isoFormat((string) trans('config.date_time_js'));
return (new MailMessage())
return new MailMessage()
->markdown('emails.password', ['url' => $this->url, 'ip' => $ip, 'host' => $host, 'userAgent' => $userAgent, 'time' => $time])
->subject((string) trans('email.reset_pw_subject'))
;