File tree 2 files changed +2
-6
lines changed
2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,7 @@ public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Bui
24
24
$ builder ->getRootNode ()
25
25
->validate ()
26
26
->ifArray ()
27
- ->then (function (array $ item ) {
28
- return ExtractorConfigurationValidator::validate ($ item );
29
- })
27
+ ->then (fn (array $ item ) => ExtractorConfigurationValidator::validate ($ item ))
30
28
->end ()
31
29
->children ()
32
30
->scalarNode ('api_type ' )
Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ public function getConfigTreeBuilder(): \Symfony\Component\Config\Definition\Bui
18
18
$ builder ->getRootNode ()
19
19
->validate ()
20
20
->ifArray ()
21
- ->then (function (array $ item ) {
22
- return LoaderConfigurationValidator::validate ($ item );
23
- })
21
+ ->then (fn (array $ item ) => LoaderConfigurationValidator::validate ($ item ))
24
22
->end ()
25
23
->children ()
26
24
->scalarNode ('api_type ' )
You can’t perform that action at this time.
0 commit comments