File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -125,11 +125,11 @@ $rows = SimpleExcelReader::create($pathToXlsx)
125
125
->getRows();
126
126
```
127
127
128
- You can also retrieve all sheet names in a document using the ` getSheets ()` method.
128
+ You can also retrieve all sheet names in a document using the ` getSheetNames ()` method.
129
129
130
130
``` php
131
131
$sheets = SimpleExcelReader::create($pathToXlsx)
132
- ->getSheets ();
132
+ ->getSheetNames ();
133
133
```
134
134
135
135
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ public function take(int $count): SimpleExcelReader
187
187
return $ this ;
188
188
}
189
189
190
- public function getSheets (): array
190
+ public function getSheetNames (): array
191
191
{
192
192
$ this ->setReader ();
193
193
Original file line number Diff line number Diff line change @@ -570,7 +570,7 @@ function () {
570
570
$ reader = SimpleExcelReader::create (getStubPath ('multiple_sheets.xlsx ' ));
571
571
572
572
expect (
573
- $ reader ->getSheets ()
573
+ $ reader ->getSheetNames ()
574
574
)->toEqual ([
575
575
0 => 'sheet1 ' ,
576
576
1 => 'sheet2 ' ,
You can’t perform that action at this time.
0 commit comments