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:
		
							parent
							
								
									dcc1832215
								
							
						
					
					
						commit
						df6443feaf
					
				@ -31,8 +31,6 @@ index, use the `getSheet()` method.
 | 
				
			|||||||
$spreadsheet->getSheet(1);
 | 
					$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
 | 
					Methods also exist allowing you to reorder the worksheets in the
 | 
				
			||||||
workbook.
 | 
					workbook.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user