summaryrefslogtreecommitdiffstats
path: root/lib/private/request.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2014-04-15 22:55:20 +0200
committerBart Visscher <bartv@thisnet.nl>2014-04-15 22:55:20 +0200
commita4b7f5155fbd0c66fa418199305fccd5c2e7bb31 (patch)
tree3f1be6a3fd81387d47b5966ec0fd1c8d07aa48c1 /lib/private/request.php
parentd826f33fae85e8ad68bd5d7b2b3a10cdeddf8827 (diff)
downloadnextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.tar.gz
nextcloud-server-a4b7f5155fbd0c66fa418199305fccd5c2e7bb31.zip
Fix PHPdoc in lib/private
using scrutinizer patch
Diffstat (limited to 'lib/private/request.php')
-rwxr-xr-xlib/private/request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/request.php b/lib/private/request.php
index 7cbbb0676b1..93cb322f1b3 100755
--- a/lib/private/request.php
+++ b/lib/private/request.php
@@ -31,7 +31,7 @@ class OC_Request {
* of trusted domains. If no trusted domains have been configured, returns
* true.
* This is used to prevent Host Header Poisoning.
- * @param string $host
+ * @param string $domain
* @return bool true if the given domain is trusted or if no trusted domains
* have been configured
*/
@@ -76,7 +76,7 @@ class OC_Request {
/**
* Returns the overwritehost setting from the config if set and
* if the overwrite condition is met
- * @return overwritehost value or null if not defined or the defined condition
+ * @return string|null overwritehost value or null if not defined or the defined condition
* isn't met
*/
public static function getOverwriteHost() {