Passed
Pull Request — master (#109)
by
unknown
04:29
created
src/Console/Commands/ImportCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         foreach ($searchableFinder->fromCommand($this) as $searchable) {
43 43
             $this->call('scout:flush', ['searchable' => $searchable]);
44 44
 
45
-            $events->listen(ModelsImported::class, function ($event) use ($searchable) {
45
+            $events->listen(ModelsImported::class, function($event) use ($searchable) {
46 46
                 $this->resultMessage($event->models, $searchable);
47 47
             });
48 48
 
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
 
71 71
         $last = ObjectIdEncrypter::encrypt($models->last());
72 72
 
73
-        $this->line('<comment>Imported [' . $searchable . '] models up to ID:</comment> ' . $last);
73
+        $this->line('<comment>Imported ['.$searchable.'] models up to ID:</comment> '.$last);
74 74
     }
75 75
 }
Please login to merge, or discard this patch.