Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1372-1374 (lines=3) @@
1369
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1370
        }
1371
1372
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1373
            $mapping['association'] = self::REFERENCE_ONE;
1374
        }
1375
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1376
            $mapping['association'] = self::REFERENCE_MANY;
1377
        }
@@ 1375-1377 (lines=3) @@
1372
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1373
            $mapping['association'] = self::REFERENCE_ONE;
1374
        }
1375
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1376
            $mapping['association'] = self::REFERENCE_MANY;
1377
        }
1378
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1379
            $mapping['association'] = self::EMBED_ONE;
1380
        }