Skip to content

Commit

Permalink
Fix return type (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
riesjart authored Nov 22, 2023
1 parent 8cd9920 commit 6983c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/CrawlRequestFulfilled.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __invoke(ResponseInterface $response, $index)
usleep($this->crawler->getDelayBetweenRequests());
}

protected function getBaseUrl(ResponseInterface $response, CrawlUrl $crawlUrl): Uri
protected function getBaseUrl(ResponseInterface $response, CrawlUrl $crawlUrl): UriInterface
{
$redirectHistory = $response->getHeader(RedirectMiddleware::HISTORY_HEADER);

Expand Down

0 comments on commit 6983c78

Please sign in to comment.