From df6443feaf715609d8ea37c5139876238d2c1304 Mon Sep 17 00:00:00 2001 From: werraco <33789241+werraco@users.noreply.github.com> Date: Thu, 31 May 2018 07:30:04 -0400 Subject: [PATCH] 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" --- docs/topics/worksheets.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/topics/worksheets.md b/docs/topics/worksheets.md index 6100d3a3..d3d7a7ee 100644 --- a/docs/topics/worksheets.md +++ b/docs/topics/worksheets.md @@ -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.