Code Duplication    Length = 3-3 lines in 2 locations

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

@@ 1175-1177 (lines=3) @@
1172
            throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']);
1173
        }
1174
1175
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1176
            $mapping['association'] = self::REFERENCE_ONE;
1177
        }
1178
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1179
            $mapping['association'] = self::REFERENCE_MANY;
1180
        }
@@ 1178-1180 (lines=3) @@
1175
        if (isset($mapping['reference']) && $mapping['type'] === 'one') {
1176
            $mapping['association'] = self::REFERENCE_ONE;
1177
        }
1178
        if (isset($mapping['reference']) && $mapping['type'] === 'many') {
1179
            $mapping['association'] = self::REFERENCE_MANY;
1180
        }
1181
        if (isset($mapping['embedded']) && $mapping['type'] === 'one') {
1182
            $mapping['association'] = self::EMBED_ONE;
1183
        }