summaryrefslogtreecommitdiffstats
path: root/lib/private/request.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-02-08 11:47:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-02-08 11:47:55 +0100
commitb330d07b51a983dc563a91244a3c83e691c9e97d (patch)
tree1142ec91b86d5da36e568ffcb4a25f5fd55b01fe /lib/private/request.php
parent81031984a6714feffc8b1a8e523988ab83f56515 (diff)
downloadnextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.tar.gz
nextcloud-server-b330d07b51a983dc563a91244a3c83e691c9e97d.zip
Fix more documentation failes
Issue #7111
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-xlib/private/request.php15
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'])) {