Completed
Push — master ( cf94f2...e33c4a )
by ARCANEDEV
9s
created
src/Exporters/AbstractExporter.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -164,8 +164,9 @@
 block discarded – undo
164 164
      */
165 165
     protected function makeRows()
166 166
     {
167
-        if ( ! empty($headerRow = $this->serializer->getHeader()))
168
-            $this->writer->addRow($headerRow);
167
+        if ( ! empty($headerRow = $this->serializer->getHeader())) {
168
+                    $this->writer->addRow($headerRow);
169
+        }
169 170
 
170 171
         foreach ($this->data as $record) {
171 172
             $this->writer->addRow(
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
@@ -197,7 +197,9 @@
 block discarded – undo
197 197
         $rows = Collection::make();
198 198
 
199 199
         foreach ($this->reader->getSheetIterator() as $index => $sheet) {
200
-            if ($index !== $this->sheet) continue;
200
+            if ($index !== $this->sheet) {
201
+             continue;
202
+            }
201 203
 
202 204
             foreach ($sheet->getRowIterator() as $row) {
203 205
                 $rows->push($this->parser->transform($row));
Please login to merge, or discard this patch.