@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php namespace Arcanedev\LaravelExcel\Exporters; |
| 2 | 2 | |
| 3 | +use Arcanedev\LaravelExcel\Contracts\Exporter as ExporterContract; |
|
| 4 | +use Arcanedev\LaravelExcel\Contracts\Serializer as SerializerContract; |
|
| 3 | 5 | use Arcanedev\LaravelExcel\Traits\WithOptions; |
| 4 | -use Illuminate\Support\Collection; |
|
| 5 | 6 | use Box\Spout\Writer\WriterFactory; |
| 6 | -use Arcanedev\LaravelExcel\Contracts\Serializer as SerializerContract; |
|
| 7 | -use Arcanedev\LaravelExcel\Contracts\Exporter as ExporterContract; |
|
| 7 | +use Illuminate\Support\Collection; |
|
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | 10 | * Class AbstractExporter |
@@ -193,7 +193,9 @@ |
||
| 193 | 193 | $rows = new Collection; |
| 194 | 194 | |
| 195 | 195 | foreach ($this->reader->getSheetIterator() as $index => $sheet) { |
| 196 | - if ($index !== $this->sheet) continue; |
|
| 196 | + if ($index !== $this->sheet) { |
|
| 197 | + continue; |
|
| 198 | + } |
|
| 197 | 199 | |
| 198 | 200 | foreach ($sheet->getRowIterator() as $row) { |
| 199 | 201 | $rows->push($this->parser->transform($row)); |