Controller: Fix doc of httpNotFound and httpBadRequest
This commit is contained in:
parent
efea832890
commit
a734aca11b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue