We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e7de01 commit fc41dddCopy full SHA for fc41ddd
src/Importer/AbstractSpreadsheet.php
@@ -67,7 +67,7 @@ public function getCollection()
67
$collection = $this->model ? $this->model->newCollection() : collect([]);
68
69
foreach ($sheet->getRowIterator() as $rowindex => $row) {
70
- if ($rowindex == 1 && $this->header) {
+ if ($rowindex == 1 && $this->hasHeaderRow) {
71
$headers = $row;
72
} else {
73
$data = $this->parser->transform($row, $headers);
@@ -104,7 +104,7 @@ public function save($updateIfEquals = [])
104
}
105
106
107
108
109
110
0 commit comments