Code Duplication    Length = 6-6 lines in 2 locations

model/Concept.php 2 locations

@@ 227-232 (lines=6) @@
224
225
        $longUris = $this->resource->propertyUris();
226
        foreach ($longUris as &$prop) {
227
            if (EasyRdf_Namespace::shorten($prop) !== null) {
228
                // shortening property labels if possible
229
                $prop = $sprop = EasyRdf_Namespace::shorten($prop);
230
            } else {
231
                $sprop = "<$prop>";
232
            }
233
            // EasyRdf requires full URIs to be in angle brackets
234
235
            if (in_array($prop, $this->MAPPING_PROPERTIES) && !in_array($prop, $this->DELETED_PROPERTIES)) {
@@ 320-325 (lines=6) @@
317
        }
318
319
        foreach ($longUris as &$prop) {
320
            if (EasyRdf_Namespace::shorten($prop) !== null) {
321
                // shortening property labels if possible
322
                $prop = $sprop = EasyRdf_Namespace::shorten($prop);
323
            } else {
324
                $sprop = "<$prop>";
325
            }
326
            // EasyRdf requires full URIs to be in angle brackets
327
328
            if (!in_array($prop, $this->DELETED_PROPERTIES) || ($this->isGroup() === false && $prop === 'skos:member')) {