summaryrefslogtreecommitdiffstats
path: root/lib/private/appframework
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-16 22:12:47 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-16 22:13:03 +0100
commitcebf9f6a5a2d75ea682f109486ada3d5558fb6a2 (patch)
tree84b807b98f01238e153c75fd576475208a5724ef /lib/private/appframework
parent992164446cf7da39078d879300475b6353e1d40f (diff)
downloadnextcloud-server-cebf9f6a5a2d75ea682f109486ada3d5558fb6a2.tar.gz
nextcloud-server-cebf9f6a5a2d75ea682f109486ada3d5558fb6a2.zip
Incorporate review changes
Diffstat (limited to 'lib/private/appframework')
-rw-r--r--lib/private/appframework/http/request.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php
index 5cffbccb623..d85bfd4f30a 100644
--- a/lib/private/appframework/http/request.php
+++ b/lib/private/appframework/http/request.php
@@ -128,9 +128,9 @@ class Request implements \ArrayAccess, \Countable, IRequest {
}
/**
- * @param $parameters
+ * @param array $parameters
*/
- public function setUrlParameters($parameters) {
+ public function setUrlParameters(array $parameters) {
$this->items['urlParams'] = $parameters;
$this->items['parameters'] = array_merge(
$this->items['parameters'],
@@ -195,8 +195,8 @@ class Request implements \ArrayAccess, \Countable, IRequest {
/**
* Magic property accessors
- * @param $name
- * @param $value
+ * @param string $name
+ * @param mixed $value
*/
public function __set($name, $value) {
throw new \RuntimeException('You cannot change the contents of the request object');
@@ -253,7 +253,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
}
/**
- * @param $name
+ * @param string $name
* @return bool
*/
public function __isset($name) {
@@ -261,7 +261,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
}
/**
- * @param $id
+ * @param string $id
*/
public function __unset($id) {
throw new \RunTimeException('You cannot change the contents of the request object');