8000 fix · laravel-enso/data-import@b3f41f6 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3f41f6

Browse files
committed
fix
1 parent 262a593 commit b3f41f6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Services/Importers/Sheet.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
namespace LaravelEnso\DataImport\Services\Importers;
44

5-
use Box\Spout\Reader\XLSX\RowIterator;
5+
use Box\Spout\Reader\CSV\RowIterator as CSVRowIterator;
6+
use Box\Spout\Reader\XLSX\RowIterator as XLSXRowIterator;
67
use Illuminate\Bus\Batch;
78
use Illuminate\Support\Collection;
89
use Illuminate\Support\Facades\Storage;
@@ -18,7 +19,7 @@ class Sheet
1819
{
1920
private int $chunkSize;
2021
private XLSX|CSV $reader;
21-
private RowIterator $iterator;
22+
private XLSXRowIterator | CSVRowIterator $iterator;
2223
private Collection $header;
2324
private int $rowLength;
2425
private Chunk $chunk;

0 commit comments

Comments
 (0)
0