Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1224-1226 (lines=3) @@
1221
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1222
        }
1223
1224
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1225
            $mapping['association'] = self::REFERENCE_ONE;
1226
        }
1227
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1228
            $mapping['association'] = self::REFERENCE_MANY;
1229
        }
@@ 1227-1229 (lines=3) @@
1224
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1225
            $mapping['association'] = self::REFERENCE_ONE;
1226
        }
1227
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1228
            $mapping['association'] = self::REFERENCE_MANY;
1229
        }
1230
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1231
            $mapping['association'] = self::EMBED_ONE;
1232
        }