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 e63b71d commit efc14d0Copy full SHA for efc14d0
src/Importer/AbstractSpreadsheet.php
@@ -16,7 +16,7 @@ abstract class AbstractSpreadsheet implements ImporterInterface
16
public function __construct()
17
{
18
$this->path = '';
19
- $this->sheet = 0;
+ $this->sheet = 1;
20
$this->type = $this->getType();
21
$this->parser = new BasicParser();
22
}
@@ -41,7 +41,7 @@ abstract public function getType();
41
public function getCollection()
42
43
$reader = $this->create();
44
- $reader->open();
+ $reader->open($this->path);
45
$collection = $this->parseRows($reader);
46
$reader->close();
47
return $collection;
0 commit comments