Completed
Push — master ( fc5bca...29537e )
by ARCANEDEV
16s
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
@@ -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.