src/Request.php
public function withUri(UriInterface $uri, $preserveHost = false)
	{
		$result = clone $this;

		return $result->setUri($uri, $preserveHost);
	}
public function withUri(UriInterface $uri, $preserveHost = false)
	{
		$result = clone $this;

		return $result->setUri($uri, $preserveHost);
	}
{@inheritdoc}