Code Duplication    Length = 3-3 lines in 2 locations

lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadataInfo.php 2 locations

@@ 1443-1445 (lines=3) @@
1440
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1441
            $mapping['association'] = self::REFERENCE_MANY;
1442
        }
1443
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1444
            $mapping['association'] = self::EMBED_ONE;
1445
        }
1446
        if (isset($mapping['embedded']) && $mapping['type'] === 'many') {
1447
            $mapping['association'] = self::EMBED_MANY;
1448
        }
@@ 1446-1448 (lines=3) @@
1443
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1444
            $mapping['association'] = self::EMBED_ONE;
1445
        }
1446
        if (isset($mapping['embedded']) && $mapping['type'] === 'many') {
1447
            $mapping['association'] = self::EMBED_MANY;
1448
        }
1449
1450
        if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) {
1451
            $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD;