Completed
Pull Request — master (#894)
by
unknown
02:07
created
model/VocabularyConfig.php 1 patch
Spacing   +2 added lines, -2 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');
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $langs = $this->getLanguages();
75 75
         $deflang = reset($langs); // picking the first one from the list with reset since the keys are not numeric
76 76
         if (sizeof($langs) > 1) {
77
-            trigger_error("Default language for vocabulary '" . $this->getShortName() . "' unknown, choosing '$deflang'.", E_USER_WARNING);
77
+            trigger_error("Default language for vocabulary '".$this->getShortName()."' unknown, choosing '$deflang'.", E_USER_WARNING);
78 78
         }
79 79
 
80 80
         return $deflang;
Please login to merge, or discard this patch.