aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/request.php
diff options
context:
space:
mode:
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() {