diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-06 19:30:58 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2014-02-06 20:02:21 +0400 |
commit | 2a6a9a8cefcf68f48d95e124db0c1b7edc9fe356 (patch) | |
tree | 66d682a22c3d12d1838822fc52cdd48fa765f5df /lib/private/request.php | |
parent | 0d94da7e9ef9550c8ae0244b203ca84e5ee007b0 (diff) |
polish documentation based on scrutinizer patches
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-x | lib/private/request.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/request.php b/lib/private/request.php index d9d5ae08e28..14144992388 100755 --- a/lib/private/request.php +++ b/lib/private/request.php @@ -86,6 +86,7 @@ class OC_Request { * * Returns the request uri, even if the website uses one or more * reverse proxies + * @return string */ public static function requestUri() { $uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : ''; @@ -101,6 +102,7 @@ class OC_Request { * * Returns the script name, even if the website uses one or more * reverse proxies + * @return string */ public static function scriptName() { $name = $_SERVER['SCRIPT_NAME']; @@ -115,6 +117,7 @@ class OC_Request { /** * @brief get Path info from request * @returns string Path info or false when not found + * @return string */ public static function getPathInfo() { if (array_key_exists('PATH_INFO', $_SERVER)) { @@ -139,6 +142,7 @@ class OC_Request { /** * @brief get Path info from request, not urldecoded * @returns string Path info or false when not found + * @return string */ public static function getRawPathInfo() { $requestUri = $_SERVER['REQUEST_URI']; |