@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | final public function handle() |
| 15 | 15 | { |
| 16 | - if (! $this->confirmToProceed()) { |
|
| 16 | + if (!$this->confirmToProceed()) { |
|
| 17 | 17 | return; |
| 18 | 18 | } |
| 19 | 19 | |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | |
| 26 | 26 | $this->handleTenant($tenant); |
| 27 | 27 | |
| 28 | - $this->info("\nFinished for tenant: " . $tenant->id); |
|
| 28 | + $this->info("\nFinished for tenant: ".$tenant->id); |
|
| 29 | 29 | } |
| 30 | 30 | } |
| 31 | 31 | |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | * |
| 42 | 42 | * @return \Illuminate\Support\Collection|null |
| 43 | 43 | */ |
| 44 | - protected function parseTenantInput() : ?Collection |
|
| 44 | + protected function parseTenantInput() : ? Collection |
|
| 45 | 45 | { |
| 46 | 46 | if ($this->option('all')) { |
| 47 | 47 | return Tenant::all(); |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | return Tenant::find( |
| 55 | 55 | array_map( |
| 56 | - function ($id) { |
|
| 56 | + function($id) { |
|
| 57 | 57 | return trim($id); |
| 58 | 58 | }, |
| 59 | 59 | explode(',', $input_ids) |
@@ -100,8 +100,8 @@ discard block |
||
| 100 | 100 | */ |
| 101 | 101 | protected function bootstrapTenant(Tenant $tenant) |
| 102 | 102 | { |
| 103 | - if ($this->checkTenantDatabaseExists && ! $tenant->databaseExists()) { |
|
| 104 | - $this->error('Tenant ' . $tenant->id . ' does not have a database setup.'); |
|
| 103 | + if ($this->checkTenantDatabaseExists && !$tenant->databaseExists()) { |
|
| 104 | + $this->error('Tenant '.$tenant->id.' does not have a database setup.'); |
|
| 105 | 105 | } |
| 106 | 106 | |
| 107 | 107 | if ($tenant->databaseExists()) { |