Code Duplication    Length = 1-1 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

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