Skip to content

Commit

Permalink
Service Provider fixed for passing ['events'] as third argument to Ma…
Browse files Browse the repository at this point in the history
…iler constructor
  • Loading branch information
shoaibnawaz committed Dec 10, 2015
1 parent a16ca33 commit 531be6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MailServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);

Expand Down

0 comments on commit 531be6b

Please sign in to comment.