Skip to content

Commit

Permalink
Update StaticCrawlObserver.php
Browse files Browse the repository at this point in the history
  • Loading branch information
markvaneijk authored Mar 27, 2024
1 parent c3f2a71 commit e2f25d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Crawler/StaticCrawlObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function crawled(
UriInterface $url,
ResponseInterface $response,
UriInterface $foundOnUrl = null,
?string $linkText
?string $linkText = null
): void {
$this->components->info('Crawled and cached url: '.$url);
}
Expand All @@ -44,7 +44,7 @@ public function crawlFailed(
UriInterface $url,
RequestException $requestException,
UriInterface $foundOnUrl = null,
?string $linkText
?string $linkText = null
): void {
$this->components->error('Failed to crawl url: '.$url);
}
Expand Down

0 comments on commit e2f25d4

Please sign in to comment.