@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $this->info('Generating cache for <comment>'.$module->name.'</comment>'); |
| 44 | 44 | |
| 45 | 45 | $modelClass = $module->model_class; |
| 46 | - $modelClass::chunkById(300, function ($records) { |
|
| 46 | + $modelClass::chunkById(300, function($records) { |
|
| 47 | 47 | foreach ($records as $record) { |
| 48 | 48 | $record->uuid; // Automaticaly generate cache (see \Uccello\Core\Support\Traits\UccelloModule getUuidAttribute()) |
| 49 | 49 | } |