Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1404-1406 (lines=3) @@
1401
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1402
        }
1403
1404
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1405
            $mapping['association'] = self::REFERENCE_ONE;
1406
        }
1407
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1408
            $mapping['association'] = self::REFERENCE_MANY;
1409
        }
@@ 1407-1409 (lines=3) @@
1404
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1405
            $mapping['association'] = self::REFERENCE_ONE;
1406
        }
1407
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1408
            $mapping['association'] = self::REFERENCE_MANY;
1409
        }
1410
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1411
            $mapping['association'] = self::EMBED_ONE;
1412
        }