Skip to content

Commit e2f25d4

Browse files
authored
Update StaticCrawlObserver.php
1 parent c3f2a71 commit e2f25d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Crawler/StaticCrawlObserver.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function crawled(
3232
UriInterface $url,
3333
ResponseInterface $response,
3434
UriInterface $foundOnUrl = null,
35-
?string $linkText
35+
?string $linkText = null
3636
): void {
3737
$this->components->info('Crawled and cached url: '.$url);
3838
}
@@ -44,7 +44,7 @@ public function crawlFailed(
4444
UriInterface $url,
4545
RequestException $requestException,
4646
UriInterface $foundOnUrl = null,
47-
?string $linkText
47+
?string $linkText = null
4848
): void {
4949
$this->components->error('Failed to crawl url: '.$url);
5050
}

0 commit comments

Comments
 (0)