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)
|
* 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'] : '';
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue