File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
Expand file tree Collapse file tree 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
2424 $ builder ->getRootNode ()
2525 ->validate ()
2626 ->ifArray ()
27- ->then (function (array $ item ) {
28- return ExtractorConfigurationValidator::validate ($ item );
29- })
27+ ->then (fn (array $ item ) => ExtractorConfigurationValidator::validate ($ item ))
3028 ->end ()
3129 ->children ()
3230 ->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
1818 $ builder ->getRootNode ()
1919 ->validate ()
2020 ->ifArray ()
21- ->then (function (array $ item ) {
22- return LoaderConfigurationValidator::validate ($ item );
23- })
21+ ->then (fn (array $ item ) => LoaderConfigurationValidator::validate ($ item ))
2422 ->end ()
2523 ->children ()
2624 ->scalarNode ('api_type ' )
You can’t perform that action at this time.
0 commit comments