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:
parent
b3cef0c100
commit
cf5bffea25
1 changed files with 4 additions and 2 deletions
|
|
@ -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] ?? []);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue