Passed
Pull Request — master (#1425)
by Henri
03:28
created
model/ConceptPropertyValueLiteral.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
                 return Punic\Calendar::formatDate($val, 'short');
70 70
             } catch (Exception $e) {
71 71
                 trigger_error($e->getMessage(), E_USER_WARNING);
72
-                return (string) $this->literal;
72
+                return (string)$this->literal;
73 73
             }
74 74
         }
75 75
         return $this->literal->getValue();
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
     {
96 96
         $graph = $this->resource->getGraph();
97 97
         $labelResources = $graph->resourcesMatching('skosxl:literalForm', $this->literal);
98
-        foreach($labelResources as $labres) {
98
+        foreach ($labelResources as $labres) {
99 99
           $xlLabel = new LabelSkosXL($this->model, $labres);
100 100
           if ($xlLabel->getLang() == $this->getLang()) {
101 101
             return $xlLabel;
Please login to merge, or discard this patch.