From 531be6b87ac7dad5229630a390dae23f0c22d1dd Mon Sep 17 00:00:00 2001 From: Shoaib Nawaz Date: Thu, 10 Dec 2015 09:46:00 +0500 Subject: [PATCH] Service Provider fixed for passing ['events'] as third argument to Mailer constructor --- src/MailServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MailServiceProvider.php b/src/MailServiceProvider.php index bc898cf..c626788 100644 --- a/src/MailServiceProvider.php +++ b/src/MailServiceProvider.php @@ -32,7 +32,7 @@ public function register() // Once we have create the mailer instance, we will set a container instance // on the mailer. This allows us to resolve mailer classes via containers // for maximum testability on said classes instead of passing Closures. - $mailer = new Mailer($app['view'], $app['swift.mailer']); + $mailer = new Mailer($app['view'], $app['swift.mailer'], $app['events']); $mailer->setLogger($app['log'])->setQueue($app['queue']);