diff --git a/src/Console/Commands/Check/CheckHttpResponseCommand.php b/src/Console/Commands/Check/CheckHttpResponseCommand.php index 4bc2f59..41be613 100644 --- a/src/Console/Commands/Check/CheckHttpResponseCommand.php +++ b/src/Console/Commands/Check/CheckHttpResponseCommand.php @@ -99,7 +99,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int $authPath = (string)$input->getOption('auth-path'); if ($authPath !== '' && is_readable($authPath)) {} - $statusCodes = (array)$input->getOption('status-code'); + $statusCodes = array_map('intval', (array)$input->getOption('status-code')); $matchKeywords = (array)$input->getOption('match-keyword'); $notMatchKeywords = (array)$input->getOption('not-match-keyword');