Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1185-1187 (lines=3) @@
1182
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1183
        }
1184
1185
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1186
            $mapping['association'] = self::REFERENCE_ONE;
1187
        }
1188
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1189
            $mapping['association'] = self::REFERENCE_MANY;
1190
        }
@@ 1188-1190 (lines=3) @@
1185
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1186
            $mapping['association'] = self::REFERENCE_ONE;
1187
        }
1188
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1189
            $mapping['association'] = self::REFERENCE_MANY;
1190
        }
1191
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1192
            $mapping['association'] = self::EMBED_ONE;
1193
        }