Passed
Pull Request — master (#1302)
by
unknown
10:57
created
model/VocabularyConfig.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
     "skos:related", "skos:historyNote", "skosmos:memberOf",
30 30
     "skosmos:memberOfArray");
31 31
 
32
-    public function __construct($resource, $globalPlugins=array())
32
+    public function __construct($resource, $globalPlugins = array())
33 33
     {
34 34
         $this->resource = $resource;
35 35
         $this->globalPlugins = $globalPlugins;
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * @return \EasyRdf\Literal value as a string
52 52
      */
53 53
     public function getUsePluginAsLiteral($plugin) : string {
54
-        return (string) $plugin->getLiteral('skosmos:usePlugin')->getValue();
54
+        return (string)$plugin->getLiteral('skosmos:usePlugin')->getValue();
55 55
     }
56 56
 
57 57
     /**
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                 $paramValue = $paramLiteral->getValue();
171 171
                 $paramLang = $paramLiteral->getLang();
172 172
                 if ($paramLang) {
173
-                    $paramName .= '_' . $paramLang;
173
+                    $paramName .= '_'.$paramLang;
174 174
                 }
175 175
                 $this->pluginParameters[$pluginName][$paramName] = $paramValue;
176 176
             }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         $labelProperty = $override->getResource('skosmos:property');
203 203
         $labelPropUri = $labelProperty->shorten();
204 204
         if (empty($this->labelOverrides[$labelPropUri])) {
205
-            $this->labelOverrides[$labelPropUri]  = array();
205
+            $this->labelOverrides[$labelPropUri] = array();
206 206
         }
207 207
         $newOverrides = array();
208 208
 
@@ -276,7 +276,7 @@  discard block
 block discarded – undo
276 276
         $langs = $this->getLanguages();
277 277
         $deflang = reset($langs); // picking the first one from the list with reset since the keys are not numeric
278 278
         if (sizeof($langs) > 1) {
279
-            trigger_error("Default language for vocabulary '" . $this->getShortName() . "' unknown, choosing '$deflang'.", E_USER_WARNING);
279
+            trigger_error("Default language for vocabulary '".$this->getShortName()."' unknown, choosing '$deflang'.", E_USER_WARNING);
280 280
         }
281 281
 
282 282
         return $deflang;
Please login to merge, or discard this patch.