diff options
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-x | lib/private/request.php | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/lib/private/request.php b/lib/private/request.php index 14144992388..ee3d2fd54db 100755 --- a/lib/private/request.php +++ b/lib/private/request.php @@ -98,11 +98,10 @@ class OC_Request { /** * @brief Returns the script name - * @returns string the script name + * @return string the script name * * Returns the script name, even if the website uses one or more * reverse proxies - * @return string */ public static function scriptName() { $name = $_SERVER['SCRIPT_NAME']; @@ -116,8 +115,7 @@ class OC_Request { /** * @brief get Path info from request - * @returns string Path info or false when not found - * @return string + * @return string Path info or false when not found */ public static function getPathInfo() { if (array_key_exists('PATH_INFO', $_SERVER)) { @@ -141,8 +139,7 @@ class OC_Request { /** * @brief get Path info from request, not urldecoded - * @returns string Path info or false when not found - * @return string + * @return string Path info or false when not found */ public static function getRawPathInfo() { $requestUri = $_SERVER['REQUEST_URI']; @@ -183,7 +180,7 @@ class OC_Request { /** * @brief Check if this is a no-cache request - * @returns boolean true for no-cache + * @return boolean true for no-cache */ static public function isNoCache() { if (!isset($_SERVER['HTTP_CACHE_CONTROL'])) { @@ -194,7 +191,7 @@ class OC_Request { /** * @brief Check if the requestor understands gzip - * @returns boolean true for gzip encoding supported + * @return boolean true for gzip encoding supported */ static public function acceptGZip() { if (!isset($_SERVER['HTTP_ACCEPT_ENCODING'])) { @@ -210,7 +207,7 @@ class OC_Request { /** * @brief Check if the requester sent along an mtime - * @returns false or an mtime + * @return false or an mtime */ static public function hasModificationTime () { if (isset($_SERVER['HTTP_X_OC_MTIME'])) { |