From b3bffa7832eddcf905e616408af95735a7eb7f63 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 4 Apr 2024 15:40:48 +0200 Subject: [PATCH] Tab(s): Fix doc types --- library/Icinga/Web/Widget/Tab.php | 8 ++++---- library/Icinga/Web/Widget/Tabs.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/Icinga/Web/Widget/Tab.php b/library/Icinga/Web/Widget/Tab.php index a367f0082..76fac125d 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 @@ 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) { diff --git a/library/Icinga/Web/Widget/Tabs.php b/library/Icinga/Web/Widget/Tabs.php index 9efa42353..d29a81751 100644 --- a/library/Icinga/Web/Widget/Tabs.php +++ b/library/Icinga/Web/Widget/Tabs.php @@ -75,7 +75,7 @@ EOT; /** * This is where single tabs added to this container will be stored * - * @var array + * @var array */ private $tabs = array(); @@ -419,7 +419,7 @@ EOT; /** * Return all tabs contained in this tab panel * - * @return array + * @return array */ public function getTabs() {