Skip to content

Commit 3b84457

Browse files
committed
Ran php-cs-fixer
1 parent 1810aeb commit 3b84457

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Configuration.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ public function getConfigTreeBuilder(): TreeBuilder
1919
/* @phpstan-ignore-next-line */
2020
$builder->getRootNode()
2121
->validate()
22-
->ifTrue(function (array $value) {
23-
return array_key_exists('extractor', $value) && array_key_exists('loader', $value);
24-
})
22+
->ifTrue(fn (array $value) => \array_key_exists('extractor', $value) && \array_key_exists('loader', $value))
2523
->thenInvalid('Your configuration should either contain the "extractor" or the "loader" key, not both.')
2624
->end()
2725
->children()

0 commit comments

Comments
 (0)