Skip to content

Commit a33ca71

Browse files
committed
Blunder.
1 parent a13a2dd commit a33ca71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/LdapSyncCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public function execute(InputInterface $input, OutputInterface $output): ?int
303303
if (!$this->validateConfig($config, $configProblems)) {
304304
$this->logger->error(sprintf(
305305
"%d configuration problem(s) need to be resolved.",
306-
count($configProblems)
306+
count($configProblems["error"])
307307
));
308308
return Command::INVALID;
309309
}
@@ -832,7 +832,7 @@ private function validateConfig(array &$config, array &$problems): bool
832832
}
833833
// >> Gitlab
834834

835-
return ([] !== $problems["error"]);
835+
return ([] === $problems["error"]);
836836
}
837837

838838
/**

0 commit comments

Comments
 (0)