1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-06-21 11:44:02 +00:00

Improve code quality and comments

This commit is contained in:
lukinovec 2026-05-01 15:17:38 +02:00
parent 26c161a940
commit 429e0985fd
2 changed files with 4 additions and 7 deletions

View file

@ -130,11 +130,7 @@ class SQLiteDatabaseManager implements TenantDatabaseManager
public function databaseExists(string $name): bool
{
if ($this->isInMemory($name)) {
return true;
}
return file_exists($this->getPath($name));
return $this->isInMemory($name) || file_exists($this->getPath($name));
}
public function makeConnectionConfig(array $baseConfig, string $databaseName): array