Completed
Push — master ( 99c77e...879178 )
by Tom
04:30 queued 02:55
created
src/Commands/BaseTenantableCommand.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
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
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     protected function bootstrapTenant(Tenant $tenant)
101 101
     {
102
-        if ($this->checkTenantDatabaseExists && ! $tenant->databaseExists()) {
102
+        if ($this->checkTenantDatabaseExists && !$tenant->databaseExists()) {
103 103
             $this->error('Tenant '.$tenant->id.' does not have a database setup.');
104 104
         }
105 105
 
Please login to merge, or discard this patch.