diff --git a/lib/private/appframework/http/request.php b/lib/private/appframework/http/request.php index f11d189962..97e9809c1f 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 593263897b..da5e0ff0a1 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 814fc0251c..025c8367d4 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();