mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:44:03 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
a94227a19c
commit
a08480f310
5 changed files with 10 additions and 5 deletions
|
|
@ -17,7 +17,8 @@ class CacheTenancyBootstrapper implements TenancyBootstrapper
|
|||
|
||||
public function __construct(
|
||||
protected Application $app
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function bootstrap(Tenant $tenant): void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@ class ScoutTenancyBootstrapper implements TenancyBootstrapper
|
|||
|
||||
public function __construct(
|
||||
protected Repository $config,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function bootstrap(Tenant $tenant): void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,7 +19,8 @@ class DatabaseManager
|
|||
protected Application $app,
|
||||
protected BaseDatabaseManager $database,
|
||||
protected Repository $config,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
/** Connect to a tenant's database. */
|
||||
public function connectToTenant(TenantWithDatabase $tenant): void
|
||||
|
|
|
|||
|
|
@ -25,7 +25,8 @@ class TenantConfig implements Feature
|
|||
|
||||
public function __construct(
|
||||
protected Repository $config,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function bootstrap(Tenancy $tenancy): void
|
||||
{
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ class CreateTenantConnection
|
|||
{
|
||||
public function __construct(
|
||||
protected DatabaseManager $database,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
public function handle(TenantEvent $event): void
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue