From e2f25d4ad43d8a1095d57be6e8cb4e2ee928d72b Mon Sep 17 00:00:00 2001 From: Mark van Eijk Date: Wed, 27 Mar 2024 22:02:00 +0100 Subject: [PATCH] Update StaticCrawlObserver.php --- src/Crawler/StaticCrawlObserver.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Crawler/StaticCrawlObserver.php b/src/Crawler/StaticCrawlObserver.php index 235e999..80ea4c6 100644 --- a/src/Crawler/StaticCrawlObserver.php +++ b/src/Crawler/StaticCrawlObserver.php @@ -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); } @@ -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); }