Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1198-1200 (lines=3) @@
1195
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1196
        }
1197
1198
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1199
            $mapping['association'] = self::REFERENCE_ONE;
1200
        }
1201
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1202
            $mapping['association'] = self::REFERENCE_MANY;
1203
        }
@@ 1201-1203 (lines=3) @@
1198
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1199
            $mapping['association'] = self::REFERENCE_ONE;
1200
        }
1201
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1202
            $mapping['association'] = self::REFERENCE_MANY;
1203
        }
1204
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1205
            $mapping['association'] = self::EMBED_ONE;
1206
        }