Commit e9d62741 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #23142 from owncloud/request_properties

Fix analyzer warnings in request.php
parents fc18d33f e6dc80f0
......@@ -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');
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment