Completed
Pull Request — master (#3)
by ARCANEDEV
06:36
created
src/Importers/AbstractImporter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,9 @@
 block discarded – undo
156 156
         $collection = Collection::make();
157 157
 
158 158
         foreach ($reader->getSheetIterator() as $index => $sheet) {
159
-            if ($index !== $this->sheet) continue;
159
+            if ($index !== $this->sheet) {
160
+             continue;
161
+            }
160 162
 
161 163
             foreach ($sheet->getRowIterator() as $row) {
162 164
                 $collection->push(
Please login to merge, or discard this patch.
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.