summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/appframework/http/request.php2
-rw-r--r--lib/private/security/trusteddomainhelper.php2
-rw-r--r--lib/public/irequest.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php
index f11d189962d..97e9809c1fb 100644
--- a/lib/private/appframework/http/request.php
+++ b/lib/private/appframework/http/request.php
@@ -521,7 +521,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
/**
* Get raw PathInfo from request (not urldecoded)
* @throws \Exception
- * @return string|false Path info or false when not found
+ * @return string Path info
*/
public function getRawPathInfo() {
$requestUri = isset($this->server['REQUEST_URI']) ? $this->server['REQUEST_URI'] : '';
diff --git a/lib/private/security/trusteddomainhelper.php b/lib/private/security/trusteddomainhelper.php
index 593263897be..da5e0ff0a12 100644
--- a/lib/private/security/trusteddomainhelper.php
+++ b/lib/private/security/trusteddomainhelper.php
@@ -28,7 +28,7 @@ class TrustedDomainHelper {
/**
* Strips a potential port from a domain (in format domain:port)
- * @param $host
+ * @param string $host
* @return string $host without appended port
*/
private function getDomainWithoutPort($host) {
diff --git a/lib/public/irequest.php b/lib/public/irequest.php
index 814fc0251cf..025c8367d41 100644
--- a/lib/public/irequest.php
+++ b/lib/public/irequest.php
@@ -161,7 +161,7 @@ interface IRequest {
/**
* Get raw PathInfo from request (not urldecoded)
* @throws \Exception
- * @return string|false Path info or false when not found
+ * @return string Path info
*/
public function getRawPathInfo();