mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:14:03 +00:00
Add return types to MailTenancyBootstrapper methods
This commit is contained in:
parent
62619e6738
commit
f1690f0951
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
|
|||
$this->unsetConfig();
|
||||
}
|
||||
|
||||
protected function setConfig(Tenant $tenant)
|
||||
protected function setConfig(Tenant $tenant): void
|
||||
{
|
||||
foreach (static::$credentialsMap as $configKey => $storageKey) {
|
||||
$override = $tenant->$storageKey;
|
||||
|
|
@ -62,7 +62,7 @@ class MailTenancyBootstrapper implements TenancyBootstrapper
|
|||
}
|
||||
}
|
||||
|
||||
protected function unsetConfig()
|
||||
protected function unsetConfig(): void
|
||||
{
|
||||
foreach ($this->originalConfig as $key => $value) {
|
||||
$this->config->set($key, $value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue