Update Spreadsheet.php

This commit is contained in:
oleibman
2025-07-04 07:41:56 -07:00
committed by GitHub
parent 852182039f
commit f52d70984f
+1 -1
View File
@@ -663,7 +663,7 @@ class Spreadsheet implements JsonSerializable
$worksheetCount = count($this->workSheetCollection);
$trimWorksheetName = trim($worksheetName, "'");
for ($i = 0; $i < $wroksheetCount; ++$i) {
for ($i = 0; $i < $worksheetCount; ++$i) {
if (strcasecmp($this->workSheetCollection[$i]->getTitle(), $trimWorksheetName) === 0) {
return $this->workSheetCollection[$i];
}