Skip to content

Commit

Permalink
CS and PHPStan rules updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Spomky committed Aug 1, 2020
1 parent 72c3d82 commit b36fb8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b36fb8e

Please sign in to comment.