diff --git a/src/SitemapGenerator.php b/src/SitemapGenerator.php index 6e502c0..e0b9185 100644 --- a/src/SitemapGenerator.php +++ b/src/SitemapGenerator.php @@ -114,7 +114,7 @@ public function getSitemap(): Sitemap } if (! is_null($this->maximumCrawlCount)) { - $this->crawler->setMaximumCrawlCount($this->maximumCrawlCount); + $this->crawler->setTotalCrawlLimit($this->maximumCrawlCount); } $this->crawler