Tab(s): Fix doc types

This commit is contained in:
Johannes Meyer 2024-04-04 15:40:48 +02:00
parent a734aca11b
commit b3bffa7832
2 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ class Tab extends AbstractWidget
/**
* Default values for widget properties
*
* @var array
* @var ?string
*/
private $name = null;
@ -122,7 +122,7 @@ class Tab extends AbstractWidget
}
/**
* @param mixed $name
* @param string $name
*/
public function setName($name)
{
@ -130,7 +130,7 @@ class Tab extends AbstractWidget
}
/**
* @return mixed
* @return ?string
*/
public function getName()
{
@ -162,7 +162,7 @@ class Tab extends AbstractWidget
}
/**
* @param mixed $title
* @param string $title
*/
public function setTitle($title)
{

View File

@ -75,7 +75,7 @@ EOT;
/**
* This is where single tabs added to this container will be stored
*
* @var array
* @var array<string, Tab>
*/
private $tabs = array();
@ -419,7 +419,7 @@ EOT;
/**
* Return all tabs contained in this tab panel
*
* @return array
* @return array<string, Tab>
*/
public function getTabs()
{