mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
Apply fixes from StyleCI
This commit is contained in:
parent
4aa35322da
commit
155ef0da5a
2 changed files with 4 additions and 2 deletions
|
|
@ -105,7 +105,8 @@ final class DatabaseManager
|
|||
config()->set(['database.connections.tenant.database' => $database_name]);
|
||||
}
|
||||
|
||||
public function useConnection(string $connection) {
|
||||
public function useConnection(string $connection)
|
||||
{
|
||||
$this->database->setDefaultConnection($connection);
|
||||
$this->database->reconnect($connection);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue