8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 262a593 commit b3f41f6Copy full SHA for b3f41f6
src/Services/Importers/Sheet.php
@@ -2,7 +2,8 @@
2
3
namespace LaravelEnso\DataImport\Services\Importers;
4
5
-use Box\Spout\Reader\XLSX\RowIterator;
+use Box\Spout\Reader\CSV\RowIterator as CSVRowIterator;
6
+use Box\Spout\Reader\XLSX\RowIterator as XLSXRowIterator;
7
use Illuminate\Bus\Batch;
8
use Illuminate\Support\Collection;
9
use Illuminate\Support\Facades\Storage;
@@ -18,7 +19,7 @@ class Sheet
18
19
{
20
private int $chunkSize;
21
private XLSX|CSV $reader;
- private RowIterator $iterator;
22
+ private XLSXRowIterator | CSVRowIterator $iterator;
23
private Collection $header;
24
private int $rowLength;
25
private Chunk $chunk;
0 commit comments