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 34e8d9c commit b071137Copy full SHA for b071137
src/HeloLaravelServiceProvider.php
@@ -65,11 +65,11 @@ public function register()
65
66
protected function bootMailable()
67
{
68
- $instance = app()->make(Mailer::class);
+ $instance = app()->make(MailManager::class, ['app' => app()]);
69
+ $mailerInstance = app()->make(Mailer::class);
70
71
Mail::swap($instance);
-
72
- $this->app->instance(MailerContract::class, $instance);
+ $this->app->instance(MailerContract::class, $mailerInstance);
73
}
74
75
private function version($app = null): int
0 commit comments