Skip to content

Commit

Permalink
Merge pull request #4 from shoaibnawaz/master
Browse files Browse the repository at this point in the history
Service Provider fixed for missing parameter
  • Loading branch information
judgej committed Dec 14, 2015
2 parents a16ca33 + 531be6b commit 4ce3df4
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 4ce3df4

Please sign in to comment.