From 238bca085a8b54216de71eae4218ac14468c35f3 Mon Sep 17 00:00:00 2001 From: Owen Conti Date: Tue, 29 Jan 2019 12:49:18 -0700 Subject: [PATCH] Pass second argument to Lang::getFromJson as an array. --- src/Illuminate/Auth/Notifications/ResetPassword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Auth/Notifications/ResetPassword.php b/src/Illuminate/Auth/Notifications/ResetPassword.php index 610ed4764075..f723f04df46e 100644 --- a/src/Illuminate/Auth/Notifications/ResetPassword.php +++ b/src/Illuminate/Auth/Notifications/ResetPassword.php @@ -60,7 +60,7 @@ public function toMail($notifiable) ->subject(Lang::getFromJson('Reset Password Notification')) ->line(Lang::getFromJson('You are receiving this email because we received a password reset request for your account.')) ->action(Lang::getFromJson('Reset Password'), url(config('app.url').route('password.reset', $this->token, false))) - ->line(Lang::getFromJson('This password reset link will expire in :count minutes.', config('auth.passwords.users.expire'))) + ->line(Lang::getFromJson('This password reset link will expire in :count minutes.', [config('auth.passwords.users.expire')])) ->line(Lang::getFromJson('If you did not request a password reset, no further action is required.')); }