Code Duplication    Length = 3-3 lines in 2 locations

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

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