Changed comments

This commit is contained in:
alexisparron 2017-07-05 13:54:00 +02:00
parent 68ff1b7b80
commit 7c854245fb
2 changed files with 8 additions and 3 deletions

View File

@ -24,7 +24,7 @@ class Sheet implements SheetInterface
/** @var bool Whether the sheet was the active one */
protected $isActive;
/** @var bool Whether the sheet was visible or not */
/** @var bool Whether the sheet is visible or not */
protected $isVisible;
/**
@ -83,7 +83,7 @@ class Sheet implements SheetInterface
/**
* @api
* @return bool Whether the sheet was visible or not
* @return bool Whether the sheet is visible or not
*/
public function isVisible()
{

View File

@ -33,7 +33,7 @@ class Sheet
/** @var string Name of the sheet */
protected $name;
/** @var bool isVisible visibility of the sheet */
/** @var bool Visibility of the sheet */
protected $isVisible;
/** @var \Box\Spout\Common\Helper\StringHelper */
@ -83,6 +83,11 @@ class Sheet
return $this->isVisible;
}
/**
* @api
* @param string $visibility Visibility of the sheet
* @return Sheet
*/
public function setVisibility($visibility = true)
{
$this->isVisible = $visibility;