mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
5cef50b674
commit
c2acb85d54
2 changed files with 4 additions and 2 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Stancl\Tenancy\Commands;
|
namespace Stancl\Tenancy\Commands;
|
||||||
|
|
||||||
use Illuminate\Database\Console\Migrations\FreshCommand;
|
use Illuminate\Database\Console\Migrations\FreshCommand;
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($this->app['config']['tenancy.database.drop_tenant_databases_on_migrate_fresh']) {
|
if ($this->app['config']['tenancy.database.drop_tenant_databases_on_migrate_fresh']) {
|
||||||
$this->app->extend('command.migrate.fresh', fn() => new Commands\MigrateFreshOverride);
|
$this->app->extend('command.migrate.fresh', fn () => new Commands\MigrateFreshOverride);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -149,7 +149,7 @@ class TenancyServiceProvider extends ServiceProvider
|
||||||
public function provides()
|
public function provides()
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'command.migrate.fresh'
|
'command.migrate.fresh',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue