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:
parent
48b4837905
commit
7683befa54
1 changed files with 2 additions and 2 deletions
|
|
@ -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.');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue