Make scrutinizer happy

This commit is contained in:
Lukas Reschke 2015-02-16 14:01:15 +01:00
parent 886bda5f81
commit 9f91d64918
3 changed files with 3 additions and 3 deletions

View File

@ -521,7 +521,7 @@ class Request implements \ArrayAccess, \Countable, IRequest {
/** /**
* Get raw PathInfo from request (not urldecoded) * Get raw PathInfo from request (not urldecoded)
* @throws \Exception * @throws \Exception
* @return string|false Path info or false when not found * @return string Path info
*/ */
public function getRawPathInfo() { public function getRawPathInfo() {
$requestUri = isset($this->server['REQUEST_URI']) ? $this->server['REQUEST_URI'] : ''; $requestUri = isset($this->server['REQUEST_URI']) ? $this->server['REQUEST_URI'] : '';

View File

@ -28,7 +28,7 @@ class TrustedDomainHelper {
/** /**
* Strips a potential port from a domain (in format domain:port) * Strips a potential port from a domain (in format domain:port)
* @param $host * @param string $host
* @return string $host without appended port * @return string $host without appended port
*/ */
private function getDomainWithoutPort($host) { private function getDomainWithoutPort($host) {

View File

@ -161,7 +161,7 @@ interface IRequest {
/** /**
* Get raw PathInfo from request (not urldecoded) * Get raw PathInfo from request (not urldecoded)
* @throws \Exception * @throws \Exception
* @return string|false Path info or false when not found * @return string Path info
*/ */
public function getRawPathInfo(); public function getRawPathInfo();