diff --git a/src/Spout/Reader/XLSX/Sheet.php b/src/Spout/Reader/XLSX/Sheet.php index 33b57d8..08ef569 100644 --- a/src/Spout/Reader/XLSX/Sheet.php +++ b/src/Spout/Reader/XLSX/Sheet.php @@ -32,6 +32,7 @@ class Sheet implements SheetInterface * @param string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml * @param int $sheetIndex Index of the sheet, based on order in the workbook (zero-based) * @param string $sheetName Name of the sheet + * @param bool $isSheetVisible Whether the sheet is visible or not * @param bool $isSheetActive Whether the sheet was defined as active * @param \Box\Spout\Reader\XLSX\ReaderOptions $options Reader's current options * @param Helper\SharedStringsHelper Helper to work with shared strings diff --git a/src/Spout/Writer/Common/Sheet.php b/src/Spout/Writer/Common/Sheet.php index e3f7a9e..a9f6b97 100644 --- a/src/Spout/Writer/Common/Sheet.php +++ b/src/Spout/Writer/Common/Sheet.php @@ -88,9 +88,9 @@ class Sheet * @param string $visibility Visibility of the sheet * @return Sheet */ - public function setIsVisible($visibility = true) + public function setIsVisible($isVisible = true) { - $this->isVisible = $visibility; + $this->isVisible = $isVisible; return $this; }