From 0cafa8f1ea10cae9f1ef2d4aa4a3946f01b2aec4 Mon Sep 17 00:00:00 2001 From: Elf Sundae Date: Fri, 16 Sep 2016 01:56:03 +0800 Subject: [PATCH] Add missing parameter to toMail --- 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.')