diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php index a71afc2..36ddb89 100644 --- a/DependencyInjection/Configuration.php +++ b/DependencyInjection/Configuration.php @@ -33,8 +33,8 @@ public function getConfigTreeBuilder(): TreeBuilder $rootNode ->validate() ->ifTrue(static function (array $config): bool { - return !isset($config['key_set']) && !isset($config['key_set_remote']); - }) + return !isset($config['key_set']) && !isset($config['key_set_remote']); + }) ->thenInvalid('You must either configure a "key_set" or a "key_set_remote".') ->end() ->addDefaultsIfNotSet()