Code Duplication    Length = 1-1 lines in 2 locations

DependencyInjection/Configuration.php 2 locations

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