Code Duplication    Length = 1-1 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

@@ 421-421 (lines=1) @@
418
419
        $node
420
            ->validate()
421
                ->ifTrue(function ($v) {
422
                    return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']);
423
                })
424
                    ->thenInvalid('Propel doesn\'t support listeners')
@@ 425-425 (lines=1) @@
422
                    return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']);
423
                })
424
                    ->thenInvalid('Propel doesn\'t support listeners')
425
                ->ifTrue(function ($v) {
426
                    return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']);
427
                })
428
                    ->thenInvalid('Propel doesn\'t support the "repository" parameter')