Completed
Push — master ( f53f04...3d45c5 )
by ARCANEDEV
19:25
created
src/Exporters/AbstractExporter.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -123,8 +123,9 @@
 block discarded – undo
123 123
      */
124 124
     protected function makeRows(&$writer)
125 125
     {
126
-        if ( ! empty($headerRow = $this->serializer->getHeader()))
127
-            $writer->addRow($headerRow);
126
+        if ( ! empty($headerRow = $this->serializer->getHeader())) {
127
+                    $writer->addRow($headerRow);
128
+        }
128 129
 
129 130
         foreach ($this->data as $record) {
130 131
             $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
@@ -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.