summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/appframework')
-rw-r--r--lib/public/appframework/controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/appframework/controller.php b/lib/public/appframework/controller.php
index dc8da967871..7c2219bd046 100644
--- a/lib/public/appframework/controller.php
+++ b/lib/public/appframework/controller.php
@@ -68,7 +68,7 @@ abstract class Controller {
* 1. URL parameters
* 2. POST parameters
* 3. GET parameters
- * @param mixed $default If the key is not found, this value will be returned
+ * @param string $default If the key is not found, this value will be returned
* @return mixed the content of the array
*/
public function params($key, $default=null){
@@ -131,7 +131,7 @@ abstract class Controller {
* @param array $params the template parameters in key => value structure
* @param string $renderAs user renders a full page, blank only your template
* admin an entry in the admin settings
- * @param array $headers set additional headers in name/value pairs
+ * @param string[] $headers set additional headers in name/value pairs
* @return \OCP\AppFramework\Http\TemplateResponse containing the page
*/
public function render($templateName, array $params=array(),