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()
@@ 196-198 (lines=3) @@
193
                        ->arrayNode('view_response_listener')
194
                            ->beforeNormalization()
195
                                ->ifString()
196
                                ->then(function ($v) {
197
                                    return ['enabled' => in_array($v, ['force', 'true']), 'force' => 'force' === $v];
198
                                })
199
                            ->end()
200
                            ->canBeEnabled()
201
                            ->children()