src/HttpRequestAdapter.php
public function fromPsr7($input)
    {
        $adapted = new HTTPRequest(
            $input->getMethod(),
            (string) $input->getUri()->getPath(),
            $input->getQueryParams(),
            $input->getParsedBody(),
            (string) $input->getBody()
        );

        $this->importHeaders($input, $adapted);

        return $adapted;
    }
public function fromPsr7($input)
    {
        $adapted = new HTTPRequest(
            $input->getMethod(),
            (string) $input->getUri()->getPath(),
            $input->getQueryParams(),
            $input->getParsedBody(),
            (string) $input->getBody()
        );

        $this->importHeaders($input, $adapted);

        return $adapted;
    }
{@inheritDoc}