mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Made it to level 6!
This commit is contained in:
@@ -39,13 +39,13 @@ class UserTestNotificationEmail extends Notification
|
||||
/**
|
||||
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
|
||||
*/
|
||||
public function toArray(User $notifiable)
|
||||
public function toArray(User $notifiable): array
|
||||
{
|
||||
return [
|
||||
];
|
||||
}
|
||||
|
||||
public function toMail(User $notifiable)
|
||||
public function toMail(User $notifiable): MailMessage
|
||||
{
|
||||
$address = (string) $notifiable->email;
|
||||
|
||||
@@ -58,7 +58,7 @@ class UserTestNotificationEmail extends Notification
|
||||
/**
|
||||
* @SuppressWarnings("PHPMD.UnusedFormalParameter")
|
||||
*/
|
||||
public function via(User $notifiable)
|
||||
public function via(User $notifiable): array
|
||||
{
|
||||
return ['mail'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user