Code Duplication    Length = 3-3 lines in 2 locations

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

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