From 4df539c76353ff1931b0441f0d8f3f07bbf7b342 Mon Sep 17 00:00:00 2001 From: Elf Sundae Date: Fri, 16 Sep 2016 02:14:02 +0800 Subject: [PATCH] Add missing parameter to toMail (#15448) --- src/Illuminate/Auth/Notifications/ResetPassword.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Illuminate/Auth/Notifications/ResetPassword.php b/src/Illuminate/Auth/Notifications/ResetPassword.php index bf2aabf1928f..7e4f0fbeae7a 100644 --- a/src/Illuminate/Auth/Notifications/ResetPassword.php +++ b/src/Illuminate/Auth/Notifications/ResetPassword.php @@ -39,9 +39,10 @@ public function via($notifiable) /** * Build the mail representation of the notification. * + * @param mixed $notifiable * @return \Illuminate\Notifications\Messages\MailMessage */ - public function toMail() + public function toMail($notifiable) { return (new MailMessage) ->line('You are receiving this email because we received a password reset request for your account.')