Skip to content

Commit

Permalink
Override registerIlluminateMailer() instead of register() (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
langemeijer authored May 27, 2020
1 parent 1392fa3 commit bda2258
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DkimMailServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ class DkimMailServiceProvider extends MailServiceProvider
*
* @return void
*/
public function register()
public function registerIlluminateMailer()
{
parent::registerSwiftMailer();

$this->app->singleton('mailer', function ($app) {
// 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
Expand Down

0 comments on commit bda2258

Please sign in to comment.