diff --git a/src/Commands/ConvertToDatabaseCommand.php b/src/Commands/ConvertToDatabaseCommand.php index a8a3151..68ac278 100644 --- a/src/Commands/ConvertToDatabaseCommand.php +++ b/src/Commands/ConvertToDatabaseCommand.php @@ -63,13 +63,12 @@ public function handle() $this->info('Reading PSGC Excel file...'); + /** @var array $worksheet */ $worksheet = Cache::rememberForever( 'psgc-latest', fn() => SimpleExcelReader::create($file)->fromSheetName('PSGC')->getRows()->toArray() ); - array_shift($worksheet); - $this->info('Writing to database...'); $bar = $this->output->createProgressBar(count($worksheet));