Completed
Push — master ( a2b3dc...439a57 )
by Henri
14s
created
model/PluginRegister.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
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
                         }
Please login to merge, or discard this patch.
model/Concept.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -312,8 +312,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.