mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 20:14:04 +00:00
Fix code style (php-cs-fixer)
This commit is contained in:
parent
987ac9a347
commit
3ccf024bac
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class MigrateFreshOverride extends FreshCommand
|
||||||
{
|
{
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
tenancy()->model()::all()->each(function(TenantWithDatabase $tenant) {
|
tenancy()->model()::all()->each(function (TenantWithDatabase $tenant) {
|
||||||
if (method_exists($tenant, 'domains')) {
|
if (method_exists($tenant, 'domains')) {
|
||||||
$tenant->domains()->delete();
|
$tenant->domains()->delete();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue