Skip to content

Commit

Permalink
3: Fixed the limit setting in the spider command.
Browse files Browse the repository at this point in the history
  • Loading branch information
philipnorton42 committed Feb 12, 2024
1 parent 8923e83 commit 2109a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/SitemapChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function configure(): void
protected function execute(InputInterface $input, OutputInterface $output)
{
$sitemap = $input->getArgument('sitemap');
$limit = $input->getOption('limit');
$limit = (int) $input->getOption('limit');
$engine = $input->getOption('engine');

$io = new SymfonyStyle($input, $output);
Expand Down

0 comments on commit 2109a98

Please sign in to comment.