Code Duplication    Length = 3-3 lines in 2 locations

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

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