mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 14:34:04 +00:00
php-cs-fixer
This commit is contained in:
parent
7b8ab13f3d
commit
2f9dd95959
3 changed files with 3 additions and 5 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue