summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-02-16 14:01:15 +0100
committerLukas Reschke <lukas@owncloud.com>2015-02-16 22:13:00 +0100
commit9f91d64918f70002ec5043613f83694137c2d9ee (patch)
treedf6aa8aa029b66688acc0567f042f84eff94e9b2 /lib
parent886bda5f81d52ba4443094e4c2fffac33c27bc4b (diff)
downloadnextcloud-server-9f91d64918f70002ec5043613f83694137c2d9ee.tar.gz
nextcloud-server-9f91d64918f70002ec5043613f83694137c2d9ee.zip
Make scrutinizer happy
Diffstat (limited to 'lib')
-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();