Code Duplication    Length = 1-1 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 400-400 (lines=1) @@
397
398
        $node
399
            ->validate()
400
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); })
401
                    ->thenInvalid('Propel doesn\'t support listeners')
402
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); })
403
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')
@@ 402-402 (lines=1) @@
399
            ->validate()
400
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); })
401
                    ->thenInvalid('Propel doesn\'t support listeners')
402
                ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); })
403
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')
404
                ->ifTrue(function($v) { return isset($v['driver']) && 'orm' !== $v['driver'] && !empty($v['elastica_to_model_transformer']['hints']); })
405
                    ->thenInvalid('Hints are only supported by the "orm" driver')