From 3ed173d40fa64c83aa4d3c6c5f0361f1ee986029 Mon Sep 17 00:00:00 2001 From: lukinovec Date: Tue, 6 Dec 2022 10:22:47 +0100 Subject: [PATCH] Update comment --- src/Bootstrappers/MailTenancyBootstrapper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Bootstrappers/MailTenancyBootstrapper.php b/src/Bootstrappers/MailTenancyBootstrapper.php index 8efcf591..e093b1e8 100644 --- a/src/Bootstrappers/MailTenancyBootstrapper.php +++ b/src/Bootstrappers/MailTenancyBootstrapper.php @@ -45,8 +45,8 @@ class MailTenancyBootstrapper implements TenancyBootstrapper public function bootstrap(Tenant $tenant): void { - // Use custom mail manager that resolves the mailers specified in its $tenantMailers static property - // Instead of getting the cached mailers from the $mailers property + // Bind fresh mail manager instance to clear the cached mailers + // So that the manager is forced to resolve the mailers with the correct credentials from the config $this->bindNewMailManagerInstance(); $this->setConfig($tenant);