Code Duplication    Length = 3-3 lines in 2 locations

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

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