Fix several doc issues (#5215)

This commit is contained in:
Johannes Meyer 2024-04-15 13:27:31 +02:00 committed by GitHub
commit acf8795d70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 6 deletions

View File

@ -67,6 +67,8 @@ class Controller extends ModuleActionController
* @param string $message Exception message or exception format string * @param string $message Exception message or exception format string
* @param mixed ...$arg Format string argument * @param mixed ...$arg Format string argument
* *
* @return never
*
* @throws HttpBadRequestException * @throws HttpBadRequestException
*/ */
public function httpBadRequest($message) public function httpBadRequest($message)
@ -80,6 +82,8 @@ class Controller extends ModuleActionController
* @param string $message Exception message or exception format string * @param string $message Exception message or exception format string
* @param mixed ...$arg Format string argument * @param mixed ...$arg Format string argument
* *
* @return never
*
* @throws HttpNotFoundException * @throws HttpNotFoundException
*/ */
public function httpNotFound($message) public function httpNotFound($message)

View File

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

View File

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