Code Duplication    Length = 3-3 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 54-56 (lines=3) @@
51
                ->arrayNode('param_fetcher_listener')
52
                    ->beforeNormalization()
53
                        ->ifString()
54
                        ->then(function ($v) {
55
                            return ['enabled' => in_array($v, ['force', 'true']), 'force' => 'force' === $v];
56
                        })
57
                    ->end()
58
                    ->canBeEnabled()
59
                    ->children()
@@ 197-199 (lines=3) @@
194
                        ->arrayNode('view_response_listener')
195
                            ->beforeNormalization()
196
                                ->ifString()
197
                                ->then(function ($v) {
198
                                    return ['enabled' => in_array($v, ['force', 'true']), 'force' => 'force' === $v];
199
                                })
200
                            ->end()
201
                            ->canBeEnabled()
202
                            ->children()