Completed
Pull Request — master (#9)
by ARCANEDEV
04:43
created
src/Exporters/AbstractExporter.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Importers/AbstractImporter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -193,7 +193,9 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.