/**
* 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'] : '';
/**
* 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) {
/**
* 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();