Code Duplication    Length = 1-1 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 471-471 (lines=1) @@
468
                    })
469
            ->end()
470
            ->validate()
471
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); })
472
                    ->thenInvalid('Propel doesn\'t support listeners')
473
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); })
474
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')
@@ 473-473 (lines=1) @@
470
            ->validate()
471
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); })
472
                    ->thenInvalid('Propel doesn\'t support listeners')
473
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); })
474
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')
475
                ->ifTrue(function($v) { return isset($v['driver']) && 'orm' !== $v['driver'] && !empty($v['elastica_to_model_transformer']['hints']); })
476
                    ->thenInvalid('Hints are only supported by the "orm" driver')