@@ -40,8 +40,7 @@ |
||
40 | 40 | $ret[$name] = array(); |
41 | 41 | if ($raw) { |
42 | 42 | $ret[$name] = $files[$type]; |
43 | - } |
|
44 | - else { |
|
43 | + } else { |
|
45 | 44 | foreach ($files[$type] as $file) { |
46 | 45 | array_push($ret[$name], 'plugins/' . $name . '/' . $file); |
47 | 46 | } |
@@ -312,8 +312,7 @@ discard block |
||
312 | 312 | foreach ($res->propertyUris() as $prop) { |
313 | 313 | $this->addPropertyValues($res, $prop, $seen); |
314 | 314 | } |
315 | - } |
|
316 | - else { |
|
315 | + } else { |
|
317 | 316 | foreach ($props as $prop) { |
318 | 317 | if ($res->hasProperty($prop)) { |
319 | 318 | $this->addPropertyValues($res, $prop, $seen); |
@@ -850,8 +849,7 @@ discard block |
||
850 | 849 | if (!in_array($vocabUriSpace, $context, true)) { |
851 | 850 | if (!isset($context[$vocabPrefix])) { |
852 | 851 | $context[$vocabPrefix] = $vocabUriSpace; |
853 | - } |
|
854 | - else if ($context[$vocabPrefix] !== $vocabUriSpace) { |
|
852 | + } else if ($context[$vocabPrefix] !== $vocabUriSpace) { |
|
855 | 853 | $i = 2; |
856 | 854 | while (isset($context[$vocabPrefix . $i]) && $context[$vocabPrefix . $i] !== $vocabUriSpace) { |
857 | 855 | $i += 1; |