Completed
Pull Request — master (#970)
by
unknown
01:58
created
model/VocabularyConfig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     private $pluginParameters;
10 10
     private $languageOrderCache = array();
11 11
 
12
-    public function __construct($resource, $globalPlugins=array())
12
+    public function __construct($resource, $globalPlugins = array())
13 13
     {
14 14
         $this->resource = $resource;
15 15
         $plugins = $this->resource->allLiterals('skosmos:usePlugin');
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
                         $paramValue = $paramLiteral->getValue();
38 38
                         $paramLang = $paramLiteral->getLang();
39 39
                         if ($paramLang) {
40
-                            $paramName .= '_' . $paramLang;
40
+                            $paramName .= '_'.$paramLang;
41 41
                         }
42 42
                         $this->pluginParameters[$pluginName][$paramName] = $paramValue;
43 43
                     }
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
         $langs = $this->getLanguages();
65 65
         $deflang = reset($langs); // picking the first one from the list with reset since the keys are not numeric
66 66
         if (sizeof($langs) > 1) {
67
-            trigger_error("Default language for vocabulary '" . $this->getShortName() . "' unknown, choosing '$deflang'.", E_USER_WARNING);
67
+            trigger_error("Default language for vocabulary '".$this->getShortName()."' unknown, choosing '$deflang'.", E_USER_WARNING);
68 68
         }
69 69
 
70 70
         return $deflang;
Please login to merge, or discard this patch.