Skip to content

Commit

Permalink
Fix several doc issues (#5215)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg authored Apr 15, 2024
2 parents efea832 + b3bffa7 commit acf8795
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions library/Icinga/Web/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ protected function handleSortControlSubmit()
* @param string $message Exception message or exception format string
* @param mixed ...$arg Format string argument
*
* @return never
*
* @throws HttpBadRequestException
*/
public function httpBadRequest($message)
Expand All @@ -80,6 +82,8 @@ public function httpBadRequest($message)
* @param string $message Exception message or exception format string
* @param mixed ...$arg Format string argument
*
* @return never
*
* @throws HttpNotFoundException
*/
public function httpNotFound($message)
Expand Down
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 acf8795

Please sign in to comment.