Skip to content

Commit efc14d0

Browse files
authored
Fix importer issue
1 parent e63b71d commit efc14d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Importer/AbstractSpreadsheet.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ abstract class AbstractSpreadsheet implements ImporterInterface
1616
public function __construct()
1717
{
1818
$this->path = '';
19-
$this->sheet = 0;
19+
$this->sheet = 1;
2020
$this->type = $this->getType();
2121
$this->parser = new BasicParser();
2222
}
@@ -41,7 +41,7 @@ abstract public function getType();
4141
public function getCollection()
4242
{
4343
$reader = $this->create();
44-
$reader->open();
44+
$reader->open($this->path);
4545
$collection = $this->parseRows($reader);
4646
$reader->close();
4747
return $collection;

0 commit comments

Comments
 (0)