1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:34:03 +00:00

Fix constructor parameter formatting

This commit is contained in:
lukinovec 2022-11-25 08:57:07 +01:00
parent b3cef0c100
commit cf5bffea25

View file

@ -36,8 +36,10 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
], ],
]; ];
public function __construct(protected Repository $config, protected Application $app) public function __construct(
{ protected Repository $config,
protected Application $app
) {
static::$mailer ??= $config->get('mail.default'); static::$mailer ??= $config->get('mail.default');
static::$credentialsMap = array_merge(static::$credentialsMap, static::$mapPresets[static::$mailer] ?? []); static::$credentialsMap = array_merge(static::$credentialsMap, static::$mapPresets[static::$mailer] ?? []);
} }