summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework/http/templateresponse.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2014-03-10 09:31:30 +0100
committerThomas Tanghus <thomas@tanghus.net>2014-03-10 09:31:30 +0100
commita1aacc18dff11351b555304a5361a73e13684bd1 (patch)
tree4e823b2989e47c1b9f27f8170bf868c77fe0fa3d /lib/public/appframework/http/templateresponse.php
parent8f6ea900f2f75bfdfadb7f484ec64ac7ea78623c (diff)
downloadnextcloud-server-a1aacc18dff11351b555304a5361a73e13684bd1.tar.gz
nextcloud-server-a1aacc18dff11351b555304a5361a73e13684bd1.zip
Add @return PHPDocs
Diffstat (limited to 'lib/public/appframework/http/templateresponse.php')
-rw-r--r--lib/public/appframework/http/templateresponse.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/appframework/http/templateresponse.php b/lib/public/appframework/http/templateresponse.php
index 1ae22dde7ff..f5baf788ada 100644
--- a/lib/public/appframework/http/templateresponse.php
+++ b/lib/public/appframework/http/templateresponse.php
@@ -74,6 +74,7 @@ class TemplateResponse extends Response {
* Sets template parameters
* @param array $params an array with key => value structure which sets template
* variables
+ * @return TemplateResponse Reference to this object
*/
public function setParams(array $params){
$this->params = $params;
@@ -106,6 +107,7 @@ class TemplateResponse extends Response {
* settings header and footer, user renders the normal
* normal page including footer and header and blank
* just renders the plain template
+ * @return TemplateResponse Reference to this object
*/
public function renderAs($renderAs){
$this->renderAs = $renderAs;