Passed
Push — master ( 23fceb...5af5a1 )
by Christopher
06:41 queued 48s
created
src/Console/Commands/Index/Sync.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
         foreach ($this->getModelsToSync($index) as $modelClass => $model) {
44 44
             $this->line(sprintf('Sync index with model: %s', $modelClass));
45 45
             
46
-            $model::chunk($chunkSize, function ($models) {
46
+            $model::chunk($chunkSize, function($models) {
47 47
                 /** @var Collection $models */
48 48
                 Leopard::repository()->bulkSave($models);
49 49
                 $this->line(sprintf('Indexing a chunk of %s documents ...', count($models)));
Please login to merge, or discard this patch.