mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
docs: annotate valid renderAs values
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
7da87dcbfd
commit
46f87f6e46
1 changed files with 1 additions and 1 deletions
|
|
@ -74,12 +74,12 @@ class TemplateResponse extends Response {
|
|||
protected $appName;
|
||||
|
||||
/**
|
||||
* constructor of TemplateResponse
|
||||
* @param string $appName the name of the app to load the template from
|
||||
* @param string $templateName the name of the template
|
||||
* @param array $params an array of parameters which should be passed to the
|
||||
* template
|
||||
* @param string $renderAs how the page should be rendered, defaults to user
|
||||
* @psalm-param TemplateResponse::RENDER_AS_* $renderAs
|
||||
* @param S $status
|
||||
* @param H $headers
|
||||
* @since 6.0.0 - parameters $params and $renderAs were added in 7.0.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue