Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1344-1346 (lines=3) @@
1341
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1342
        }
1343
1344
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1345
            $mapping['association'] = self::REFERENCE_ONE;
1346
        }
1347
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1348
            $mapping['association'] = self::REFERENCE_MANY;
1349
        }
@@ 1347-1349 (lines=3) @@
1344
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1345
            $mapping['association'] = self::REFERENCE_ONE;
1346
        }
1347
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1348
            $mapping['association'] = self::REFERENCE_MANY;
1349
        }
1350
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1351
            $mapping['association'] = self::EMBED_ONE;
1352
        }