Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1204-1206 (lines=3) @@
1201
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1202
        }
1203
1204
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1205
            $mapping['association'] = self::REFERENCE_ONE;
1206
        }
1207
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1208
            $mapping['association'] = self::REFERENCE_MANY;
1209
        }
@@ 1207-1209 (lines=3) @@
1204
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1205
            $mapping['association'] = self::REFERENCE_ONE;
1206
        }
1207
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1208
            $mapping['association'] = self::REFERENCE_MANY;
1209
        }
1210
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1211
            $mapping['association'] = self::EMBED_ONE;
1212
        }