Code Duplication    Length = 12-14 lines in 2 locations

src/BenGorUser/SimpleBusBridgeBundle/SimpleBusDoctrineODMMongoDBBridgeBundle.php 1 location

@@ 24-37 (lines=14) @@
21
 *
22
 * @author Beñat Espiña <[email protected]>
23
 */
24
class SimpleBusDoctrineODMMongoDBBridgeBundle extends Bundle
25
{
26
    use DependentBenGorUserBundle;
27
28
    /**
29
     * {@inheritdoc}
30
     */
31
    public function build(ContainerBuilder $container)
32
    {
33
        $this->checkDependencies([
34
            'BenGorUserBundle', 'DoctrineODMMongoDBBridgeBundle', 'DoctrineMongoDBBundle',
35
        ], $container);
36
    }
37
}
38

src/BenGorUser/SimpleBusBridgeBundle/SimpleBusDoctrineORMBridgeBundle.php 1 location

@@ 24-35 (lines=12) @@
21
 *
22
 * @author Beñat Espiña <[email protected]>
23
 */
24
class SimpleBusDoctrineORMBridgeBundle extends Bundle
25
{
26
    use DependentBenGorUserBundle;
27
28
    /**
29
     * {@inheritdoc}
30
     */
31
    public function build(ContainerBuilder $container)
32
    {
33
        $this->checkDependencies(['BenGorUserBundle', 'DoctrineORMBridgeBundle', 'DoctrineBundle'], $container);
34
    }
35
}
36