Skip to content

Commit

Permalink
Tab(s): Fix doc types
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Apr 15, 2024
1 parent a734aca commit b3bffa7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions library/Icinga/Web/Widget/Tab.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Tab extends AbstractWidget
/**
* Default values for widget properties
*
* @var array
* @var ?string
*/
private $name = null;

Expand Down Expand Up @@ -122,15 +122,15 @@ public function setIconCls($iconCls)
}

/**
* @param mixed $name
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}

/**
* @return mixed
* @return ?string
*/
public function getName()
{
Expand Down Expand Up @@ -162,7 +162,7 @@ public function getLabel()
}

/**
* @param mixed $title
* @param string $title
*/
public function setTitle($title)
{
Expand Down
4 changes: 2 additions & 2 deletions library/Icinga/Web/Widget/Tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Tabs extends AbstractWidget implements Countable
/**
* This is where single tabs added to this container will be stored
*
* @var array
* @var array<string, Tab>
*/
private $tabs = array();

Expand Down Expand Up @@ -419,7 +419,7 @@ public function count(): int
/**
* Return all tabs contained in this tab panel
*
* @return array
* @return array<string, Tab>
*/
public function getTabs()
{
Expand Down

0 comments on commit b3bffa7

Please sign in to comment.