1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-05-06 16:24:03 +00:00

Fix code style (php-cs-fixer)

This commit is contained in:
github-actions[bot] 2026-05-01 12:10:13 +00:00
parent 48b4837905
commit 7683befa54

View file

@ -6,12 +6,12 @@ namespace Stancl\Tenancy\Database\TenantDatabaseManagers;
use Closure; use Closure;
use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Model;
use InvalidArgumentException;
use PDO; use PDO;
use Stancl\Tenancy\Database\Concerns\ValidatesDatabaseParameters; use Stancl\Tenancy\Database\Concerns\ValidatesDatabaseParameters;
use Stancl\Tenancy\Database\Contracts\TenantDatabaseManager; use Stancl\Tenancy\Database\Contracts\TenantDatabaseManager;
use Stancl\Tenancy\Database\Contracts\TenantWithDatabase; use Stancl\Tenancy\Database\Contracts\TenantWithDatabase;
use Throwable; use Throwable;
use InvalidArgumentException;
class SQLiteDatabaseManager implements TenantDatabaseManager class SQLiteDatabaseManager implements TenantDatabaseManager
{ {
@ -198,7 +198,7 @@ class SQLiteDatabaseManager implements TenantDatabaseManager
} }
if (is_dir($name)) { if (is_dir($name)) {
throw new InvalidArgumentException("Database name cannot be a directory."); throw new InvalidArgumentException('Database name cannot be a directory.');
} }
} }
} }