From 0eae4b27c3ab00f864f833c87610192d213b0577 Mon Sep 17 00:00:00 2001 From: alexisparron Date: Wed, 5 Jul 2017 13:57:49 +0200 Subject: [PATCH] Changed setVisibility by setIsVisible --- src/Spout/Writer/Common/Sheet.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Spout/Writer/Common/Sheet.php b/src/Spout/Writer/Common/Sheet.php index 6c58ed1..e3f7a9e 100644 --- a/src/Spout/Writer/Common/Sheet.php +++ b/src/Spout/Writer/Common/Sheet.php @@ -53,7 +53,7 @@ class Sheet $this->stringHelper = new StringHelper(); $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 * @return Sheet */ - public function setVisibility($visibility = true) + public function setIsVisible($visibility = true) { $this->isVisible = $visibility;