From b36fb8e1eef567ccaed0246d598adfb22d47abe7 Mon Sep 17 00:00:00 2001 From: Spomky Date: Sat, 1 Aug 2020 17:28:01 +0200 Subject: [PATCH] CS and PHPStan rules updated --- DependencyInjection/Configuration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()