Start with level 6. [skip ci]

This commit is contained in:
James Cole
2025-01-04 09:34:17 +01:00
parent f4bc313d0b
commit 54d0433dd4
4 changed files with 10 additions and 11 deletions

View File

@@ -41,7 +41,7 @@ class UserRegistration extends Notification
/**
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toArray(User $notifiable)
public function toArray(User $notifiable): array
{
return [
];
@@ -50,7 +50,7 @@ class UserRegistration extends Notification
/**
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function toMail(User $notifiable)
public function toMail(User $notifiable): MailMessage
{
return (new MailMessage())
->markdown('emails.registered', ['address' => route('index')])
@@ -61,7 +61,7 @@ class UserRegistration extends Notification
/**
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
*/
public function via(User $notifiable)
public function via(User $notifiable): array
{
// other settings will not be available at this point anyway.
return ['mail'];