Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1213-1215 (lines=3) @@
1210
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1211
        }
1212
1213
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1214
            $mapping['association'] = self::REFERENCE_ONE;
1215
        }
1216
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1217
            $mapping['association'] = self::REFERENCE_MANY;
1218
        }
@@ 1216-1218 (lines=3) @@
1213
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1214
            $mapping['association'] = self::REFERENCE_ONE;
1215
        }
1216
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1217
            $mapping['association'] = self::REFERENCE_MANY;
1218
        }
1219
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1220
            $mapping['association'] = self::EMBED_ONE;
1221
        }