1
0
Fork 0
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:
PHP CS Fixer 2023-06-27 10:38:48 +00:00
parent a568aa3626
commit c712505d4e

View file

@ -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