Controller: Fix doc of httpNotFound and httpBadRequest

This commit is contained in:
Johannes Meyer 2024-04-04 15:39:52 +02:00
parent efea832890
commit a734aca11b
1 changed files with 4 additions and 0 deletions

View File

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