From 2109a9895368e32b31ce75213cf2343fa65c9222 Mon Sep 17 00:00:00 2001 From: Phil Norton Date: Mon, 12 Feb 2024 21:46:23 +0000 Subject: [PATCH] 3: Fixed the limit setting in the spider command. --- src/Command/SitemapChecker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Command/SitemapChecker.php b/src/Command/SitemapChecker.php index d549456..d93f5b6 100644 --- a/src/Command/SitemapChecker.php +++ b/src/Command/SitemapChecker.php @@ -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);