We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b071137 commit 619e41dCopy full SHA for 619e41d
src/HeloLaravelServiceProvider.php
@@ -65,11 +65,11 @@ public function register()
65
66
protected function bootMailable()
67
{
68
- $instance = app()->make(MailManager::class, ['app' => app()]);
69
- $mailerInstance = app()->make(Mailer::class);
+ $managerInstance = app()->make(MailManager::class, ['app' => app()]);
+ $instance = app()->make(Mailer::class);
70
71
- Mail::swap($instance);
72
- $this->app->instance(MailerContract::class, $mailerInstance);
+ Mail::swap($managerInstance);
+ $this->app->instance(MailerContract::class, $instance);
73
}
74
75
private function version($app = null): int
0 commit comments