Code Duplication    Length = 3-3 lines in 2 locations

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

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