Changed setVisibility by setIsVisible

This commit is contained in:
alexisparron 2017-07-05 13:57:49 +02:00
parent 7c854245fb
commit 0eae4b27c3

View File

@ -53,7 +53,7 @@ class Sheet
$this->stringHelper = new StringHelper(); $this->stringHelper = new StringHelper();
$this->setName(self::DEFAULT_SHEET_NAME_PREFIX . ($sheetIndex + 1)); $this->setName(self::DEFAULT_SHEET_NAME_PREFIX . ($sheetIndex + 1));
$this->setVisibility(); $this->setIsVisible(true);
} }
/** /**
@ -88,7 +88,7 @@ class Sheet
* @param string $visibility Visibility of the sheet * @param string $visibility Visibility of the sheet
* @return Sheet * @return Sheet
*/ */
public function setVisibility($visibility = true) public function setIsVisible($visibility = true)
{ {
$this->isVisible = $visibility; $this->isVisible = $visibility;