Code Duplication    Length = 6-6 lines in 2 locations

model/Concept.php 2 locations

@@ 232-237 (lines=6) @@
229
230
        $longUris = $this->resource->propertyUris();
231
        foreach ($longUris as &$prop) {
232
            if (EasyRdf_Namespace::shorten($prop) !== null) {
233
                // shortening property labels if possible
234
                $prop = $sprop = EasyRdf_Namespace::shorten($prop);
235
            } else {
236
                $sprop = "<$prop>";
237
            }
238
            // EasyRdf requires full URIs to be in angle brackets
239
240
            if (in_array($prop, $this->MAPPING_PROPERTIES) && !in_array($prop, $this->DELETED_PROPERTIES)) {
@@ 325-330 (lines=6) @@
322
        }
323
324
        foreach ($longUris as &$prop) {
325
            if (EasyRdf_Namespace::shorten($prop) !== null) {
326
                // shortening property labels if possible
327
                $prop = $sprop = EasyRdf_Namespace::shorten($prop);
328
            } else {
329
                $sprop = "<$prop>";
330
            }
331
            // EasyRdf requires full URIs to be in angle brackets
332
333
            if (!in_array($prop, $this->DELETED_PROPERTIES) || ($this->isGroup() === false && $prop === 'skos:member')) {