Skip to content

Commit

Permalink
fix for maximum crawl limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Akilez committed Sep 21, 2022
1 parent f948b9e commit db515bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SitemapGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function getSitemap(): Sitemap
}

if (! is_null($this->maximumCrawlCount)) {
$this->crawler->setTotalCrawlLimit($this->maximumCrawlCount);
$this->crawler->setMaximumCrawlCount($this->maximumCrawlCount);
}

$this->crawler
Expand Down

0 comments on commit db515bf

Please # to comment.