diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 11:03:37 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-03-23 11:03:37 +0100 |
commit | e9d62741e89800b340b635cfe38265b90252c255 (patch) | |
tree | 06f503e3f1fef4d351af456efd7f9f0f9070cd22 | |
parent | fc18d33ff8a8b21ab38cf4e865152a16c91dc784 (diff) | |
parent | e6dc80f0f37548bb0c7dbc7c198899ab0135b9fe (diff) | |
download | nextcloud-server-e9d62741e89800b340b635cfe38265b90252c255.tar.gz nextcloud-server-e9d62741e89800b340b635cfe38265b90252c255.zip |
Merge pull request #23142 from owncloud/request_properties
Fix analyzer warnings in request.php
-rw-r--r-- | lib/private/appframework/http/request.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php index caddb5a235d..2dc636fcff2 100644 --- a/lib/private/appframework/http/request.php +++ b/lib/private/appframework/http/request.php @@ -44,6 +44,13 @@ use OCP\Security\ISecureRandom; /** * Class for accessing variables in the request. * This class provides an immutable object with request variables. + * + * @property mixed[] cookies + * @property mixed[] env + * @property mixed[] files + * @property string method + * @property mixed[] parameters + * @property mixed[] server */ class Request implements \ArrayAccess, \Countable, IRequest { @@ -260,7 +267,7 @@ class Request implements \ArrayAccess, \Countable, IRequest { * @param string $id */ public function __unset($id) { - throw new \RunTimeException('You cannot change the contents of the request object'); + throw new \RuntimeException('You cannot change the contents of the request object'); } /** |