Code Duplication    Length = 7-7 lines in 2 locations

DependencyInjection/NoxlogicRateLimitExtension.php 2 locations

@@ 84-90 (lines=7) @@
81
                    new Reference($service)
82
                );
83
                break;
84
            case 'php_redis':
85
                $container->setParameter('noxlogic_rate_limit.storage.class', 'Noxlogic\RateLimitBundle\Service\Storage\PhpRedis');
86
                $container->getDefinition('noxlogic_rate_limit.storage')->replaceArgument(
87
                    0,
88
                    new Reference($config['php_redis_service'])
89
                );
90
                break;
91
            case 'php_redis_cluster':
92
                $container->setParameter('noxlogic_rate_limit.storage.class', 'Noxlogic\RateLimitBundle\Service\Storage\PhpRedisCluster');
93
                $container->getDefinition('noxlogic_rate_limit.storage')->replaceArgument(
@@ 91-97 (lines=7) @@
88
                    new Reference($config['php_redis_service'])
89
                );
90
                break;
91
            case 'php_redis_cluster':
92
                $container->setParameter('noxlogic_rate_limit.storage.class', 'Noxlogic\RateLimitBundle\Service\Storage\PhpRedisCluster');
93
                $container->getDefinition('noxlogic_rate_limit.storage')->replaceArgument(
94
                    0,
95
                    new Reference($config['php_redis_service'])
96
                );
97
                break;
98
            case 'simple_cache':
99
                $container->setParameter('noxlogic_rate_limit.storage.class', 'Noxlogic\RateLimitBundle\Service\Storage\SimpleCache');
100
                $container->getDefinition('noxlogic_rate_limit.storage')->replaceArgument(