Skip to content

Commit 46f87f6

Browse files
committed
docs: annotate valid renderAs values
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
1 parent 7da87dc commit 46f87f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/public/AppFramework/Http/TemplateResponse.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ class TemplateResponse extends Response {
7474
protected $appName;
7575

7676
/**
77-
* constructor of TemplateResponse
7877
* @param string $appName the name of the app to load the template from
7978
* @param string $templateName the name of the template
8079
* @param array $params an array of parameters which should be passed to the
8180
* template
8281
* @param string $renderAs how the page should be rendered, defaults to user
82+
* @psalm-param TemplateResponse::RENDER_AS_* $renderAs
8383
* @param S $status
8484
* @param H $headers
8585
* @since 6.0.0 - parameters $params and $renderAs were added in 7.0.0

0 commit comments

Comments
 (0)