1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 12:24:04 +00:00

php-cs-fixer

This commit is contained in:
Samuel Štancl 2022-10-18 18:46:21 +02:00
parent 7b8ab13f3d
commit 2f9dd95959
3 changed files with 3 additions and 5 deletions

View file

@ -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
{

View file

@ -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,

View file

@ -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;
}