Code Duplication    Length = 3-3 lines in 2 locations

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

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