Fixed Implicit array creation is disallowed.
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -44,7 +44,7 @@ class WelcomeNotification extends Notification
|
||||
*/
|
||||
public function toMail()
|
||||
{
|
||||
return (new MailMessage)
|
||||
return (new MailMessage())
|
||||
->subject(trans('mail.welcome', ['name' => $this->_data['first_name'].' '.$this->_data['last_name']]))
|
||||
->markdown('notifications.Welcome', $this->_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user