src/Exception/Http305Exception.php
public function location($uri = null)
    {
        if (null === $uri)
        {
            return $this->headers('Location');
        }
        $this->headers('Location', $uri);

        return $this;
    }
public function location($uri = null)
    {
        if (null === $uri)
        {
            return $this->headers('Location');
        }
        $this->headers('Location', $uri);

        return $this;
    }
{@inheritdoc}