diff --git a/library/Icinga/Web/Widget/Tab.php b/library/Icinga/Web/Widget/Tab.php index a367f0082f..76fac125dc 100644 --- a/library/Icinga/Web/Widget/Tab.php +++ b/library/Icinga/Web/Widget/Tab.php @@ -31,7 +31,7 @@ class Tab extends AbstractWidget /** * Default values for widget properties * - * @var array + * @var ?string */ private $name = null; @@ -122,7 +122,7 @@ public function setIconCls($iconCls) } /** - * @param mixed $name + * @param string $name */ public function setName($name) { @@ -130,7 +130,7 @@ public function setName($name) } /** - * @return mixed + * @return ?string */ public function getName() { @@ -162,7 +162,7 @@ public function getLabel() } /** - * @param mixed $title + * @param string $title */ public function setTitle($title) { diff --git a/library/Icinga/Web/Widget/Tabs.php b/library/Icinga/Web/Widget/Tabs.php index 9efa423532..d29a817510 100644 --- a/library/Icinga/Web/Widget/Tabs.php +++ b/library/Icinga/Web/Widget/Tabs.php @@ -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 */ private $tabs = array(); @@ -419,7 +419,7 @@ public function count(): int /** * Return all tabs contained in this tab panel * - * @return array + * @return array */ public function getTabs() {