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