Completed
Pull Request — master (#992)
by Osma
02:33
created
model/VocabularyConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
     "isothes:narrowerInstantial", "skos:related", "skos:definition",
25 25
     "skos:historyNote", "skosmos:memberOf");
26 26
 
27
-    public function __construct($resource, $globalPlugins=array())
27
+    public function __construct($resource, $globalPlugins = array())
28 28
     {
29 29
         $this->resource = $resource;
30 30
         $plugins = $this->resource->allLiterals('skosmos:usePlugin');
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
                         $paramValue = $paramLiteral->getValue();
53 53
                         $paramLang = $paramLiteral->getLang();
54 54
                         if ($paramLang) {
55
-                            $paramName .= '_' . $paramLang;
55
+                            $paramName .= '_'.$paramLang;
56 56
                         }
57 57
                         $this->pluginParameters[$pluginName][$paramName] = $paramValue;
58 58
                     }
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
         $langs = $this->getLanguages();
80 80
         $deflang = reset($langs); // picking the first one from the list with reset since the keys are not numeric
81 81
         if (sizeof($langs) > 1) {
82
-            trigger_error("Default language for vocabulary '" . $this->getShortName() . "' unknown, choosing '$deflang'.", E_USER_WARNING);
82
+            trigger_error("Default language for vocabulary '".$this->getShortName()."' unknown, choosing '$deflang'.", E_USER_WARNING);
83 83
         }
84 84
 
85 85
         return $deflang;
Please login to merge, or discard this patch.