Code Duplication    Length = 3-3 lines in 2 locations

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

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