Make scrutinizer happy
This commit is contained in:
parent
886bda5f81
commit
9f91d64918
|
@ -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'] : '';
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue