Correction on isVisible variable name

This commit is contained in:
alexisparron 2017-07-20 17:00:16 +02:00
parent e920a950eb
commit e31b31b3ac
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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;
}