mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
a568aa3626
commit
c712505d4e
1 changed files with 1 additions and 2 deletions
|
|
@ -43,7 +43,6 @@ class PostgresRLSBootstrapper implements TenancyBootstrapper
|
|||
$this->database->purge($centralConnection);
|
||||
|
||||
/** @var TenantWithDatabase $tenant */
|
||||
|
||||
$this->config->set([
|
||||
'database.connections.' . $centralConnection . '.username' => $tenant->database()->getUsername() ?? $tenant->getTenantKey(),
|
||||
'database.connections.' . $centralConnection . '.password' => $tenant->database()->getPassword() ?? $this->getDefaultPassword(),
|
||||
|
|
@ -56,7 +55,7 @@ class PostgresRLSBootstrapper implements TenancyBootstrapper
|
|||
|
||||
$this->database->purge($centralConnection);
|
||||
|
||||
$this->config->set('database.connections.' . $centralConnection, $this->originalCentralConnectionConfig);;
|
||||
$this->config->set('database.connections.' . $centralConnection, $this->originalCentralConnectionConfig);
|
||||
}
|
||||
|
||||
public static function getDefaultPassword(): string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue