Skip to content

Commit

Permalink
Fix check:http-resp status code validation
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioheleno committed Feb 15, 2024
1 parent 8134610 commit 8777fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/Check/CheckHttpResponseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 8777fd4

Please sign in to comment.