From 9f91d64918f70002ec5043613f83694137c2d9ee Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 16 Feb 2015 14:01:15 +0100 Subject: [PATCH] Make scrutinizer happy --- lib/private/appframework/http/request.php | 2 +- lib/private/security/trusteddomainhelper.php | 2 +- lib/public/irequest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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();