protected function getIntendedUrl(UrlImmutable $url)
    {
        $intendedQuery = $url->getQuery();

        $intendedQuery->modify([
            $this->expiresParameter   => null,
            $this->signatureParameter => null,
        ]);

        $intendedUrl = $url->setQuery($intendedQuery);

        return $intendedUrl;
    }