From f0bb28345fa498d08ecbe1cea58076ad2277400d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Fri, 17 May 2024 14:23:54 +0200 Subject: [PATCH] categorize todos --- src/Database/Contracts/StatefulTenantDatabaseManager.php | 2 +- src/Database/DatabaseConfig.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Database/Contracts/StatefulTenantDatabaseManager.php b/src/Database/Contracts/StatefulTenantDatabaseManager.php index 1b6c8490..6716e9eb 100644 --- a/src/Database/Contracts/StatefulTenantDatabaseManager.php +++ b/src/Database/Contracts/StatefulTenantDatabaseManager.php @@ -13,7 +13,7 @@ use Stancl\Tenancy\Database\Exceptions\NoConnectionSetException; interface StatefulTenantDatabaseManager extends TenantDatabaseManager { /** Get the DB connection used by the tenant database manager. */ - public function database(): Connection; // todo@name rename to connection() + public function database(): Connection; // todo@dbRefactor rename to connection() /** * Set the DB connection that should be used by the tenant database manager. diff --git a/src/Database/DatabaseConfig.php b/src/Database/DatabaseConfig.php index ee13f00c..460da048 100644 --- a/src/Database/DatabaseConfig.php +++ b/src/Database/DatabaseConfig.php @@ -13,6 +13,7 @@ use Stancl\Tenancy\Database\Contracts\TenantWithDatabase as Tenant; use Stancl\Tenancy\Database\Exceptions\DatabaseManagerNotRegisteredException; use Stancl\Tenancy\Database\Exceptions\NoConnectionSetException; +// todo@dbRefactor refactor host connection logic to make customizing the host connection easier class DatabaseConfig { /** The tenant whose database we're dealing with. */