From 2f9dd95959d7d5142e17bb90a55a203a6c331446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 18 Oct 2022 18:46:21 +0200 Subject: [PATCH] php-cs-fixer --- src/Commands/Down.php | 4 +--- src/Commands/MigrateFresh.php | 2 +- src/Commands/TenantDump.php | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Commands/Down.php b/src/Commands/Down.php index 40b77e3a..e7341d7f 100644 --- a/src/Commands/Down.php +++ b/src/Commands/Down.php @@ -37,9 +37,7 @@ class Down extends DownCommand /** * Get the payload to be placed in the "down" file. This * payload is the same as the original function - * but without the 'template' option - * - * @return array + * but without the 'template' option. */ protected function getDownDatabasePayload(): array { diff --git a/src/Commands/MigrateFresh.php b/src/Commands/MigrateFresh.php index a0ddd71d..657c4990 100644 --- a/src/Commands/MigrateFresh.php +++ b/src/Commands/MigrateFresh.php @@ -36,7 +36,7 @@ class MigrateFresh extends Command ])); }); - $this->components->task('Migrating', function () use ($tenant){ + $this->components->task('Migrating', function () use ($tenant) { $this->callSilent('tenants:migrate', [ '--tenants' => [$tenant->getTenantKey()], '--force' => true, diff --git a/src/Commands/TenantDump.php b/src/Commands/TenantDump.php index bbdf3939..6edae6b0 100644 --- a/src/Commands/TenantDump.php +++ b/src/Commands/TenantDump.php @@ -32,7 +32,7 @@ class TenantDump extends DumpCommand } if ($tenant === null) { - $this->components->error("Could not find tenant to use for dumping the schema."); + $this->components->error('Could not find tenant to use for dumping the schema.'); return 1; }