Skip to content

Commit

Permalink
Apply fixes from StyleCI (#1190)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbelien authored Sep 3, 2023
1 parent 1294a41 commit 4920613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)
$validate = $this->validator->validate($input->getArgument('continent'), new Callback(function (string $value, ExecutionContextInterface $context) {
$regions = $this->provider->getRegions();

if (!isset($regions[$value]) || 0 === count($regions[$value])) {
if (!isset($regions[$value]) || 0 === \count($regions[$value])) {
$context
->buildViolation(sprintf('Continent "%s" does not exist.', $value))
->addViolation();
Expand Down

0 comments on commit 4920613

Please sign in to comment.