|  | @@ -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.