Code Duplication    Length = 3-3 lines in 2 locations

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

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