Update worksheets.md (#520)

Passing 0 arguments will throw the following error:
"PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function PhpOffice\PhpSpreadsheet\Spreadsheet::getSheet(), 0 passed in {filepath} and exactly 1 expected"
This commit is contained in:
werraco 2018-05-31 07:30:04 -04:00 committed by Adrien Crivelli
parent dcc1832215
commit df6443feaf
1 changed files with 0 additions and 2 deletions

View File

@ -31,8 +31,6 @@ index, use the `getSheet()` method.
$spreadsheet->getSheet(1);
```
If you don't specify a sheet index, then the first worksheet will be
returned.
Methods also exist allowing you to reorder the worksheets in the
workbook.