Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1263-1265 (lines=3) @@
1260
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1261
        }
1262
1263
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1264
            $mapping['association'] = self::REFERENCE_ONE;
1265
        }
1266
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1267
            $mapping['association'] = self::REFERENCE_MANY;
1268
        }
@@ 1266-1268 (lines=3) @@
1263
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1264
            $mapping['association'] = self::REFERENCE_ONE;
1265
        }
1266
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1267
            $mapping['association'] = self::REFERENCE_MANY;
1268
        }
1269
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1270
            $mapping['association'] = self::EMBED_ONE;
1271
        }