@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | { |
37 | 37 | $label = $this->getLabel(); |
38 | 38 | $notation = $this->getNotation(); |
39 | - return $notation . $label; |
|
39 | + return $notation.$label; |
|
40 | 40 | } |
41 | 41 | |
42 | 42 | public function getType() |
@@ -172,14 +172,14 @@ discard block |
||
172 | 172 | 'from' => [ |
173 | 173 | 'memberSet' => [ |
174 | 174 | [ |
175 | - 'uri' => (string) $this->source->getUri(), |
|
175 | + 'uri' => (string)$this->source->getUri(), |
|
176 | 176 | ] |
177 | 177 | ] |
178 | 178 | ], |
179 | 179 | 'to' => [ |
180 | 180 | 'memberSet' => [ |
181 | 181 | [ |
182 | - 'uri' => (string) $this->getUri() |
|
182 | + 'uri' => (string)$this->getUri() |
|
183 | 183 | ] |
184 | 184 | ] |
185 | 185 | ] |
@@ -188,20 +188,20 @@ discard block |
||
188 | 188 | $fromScheme = $this->vocab->getDefaultConceptScheme(); |
189 | 189 | if (isset($fromScheme)) { |
190 | 190 | $ret['fromScheme'] = [ |
191 | - 'uri' => (string) $fromScheme, |
|
191 | + 'uri' => (string)$fromScheme, |
|
192 | 192 | ]; |
193 | 193 | } |
194 | 194 | |
195 | 195 | $exvocab = $this->getExvocab(); |
196 | 196 | if (isset($exvocab)) { |
197 | 197 | $ret['toScheme'] = [ |
198 | - 'uri' => (string) $exvocab->getDefaultConceptScheme(), |
|
198 | + 'uri' => (string)$exvocab->getDefaultConceptScheme(), |
|
199 | 199 | ]; |
200 | 200 | } |
201 | 201 | |
202 | 202 | $notation = $this->getNotation(); |
203 | 203 | if (isset($notation)) { |
204 | - $ret['to']['memberSet'][0]['notation'] = (string) $notation; |
|
204 | + $ret['to']['memberSet'][0]['notation'] = (string)$notation; |
|
205 | 205 | } |
206 | 206 | |
207 | 207 | $label = $this->getLabel(); |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | } elseif ($parts[1] == 'mappings') { |
35 | 35 | $controller->mappings($request); |
36 | 36 | } elseif (sizeof($parts) == 2) { |
37 | - header("Location: " . $parts[1] . "/"); |
|
37 | + header("Location: ".$parts[1]."/"); |
|
38 | 38 | } else { |
39 | 39 | $vocab = $parts[1]; |
40 | 40 | try { |
@@ -90,5 +90,5 @@ discard block |
||
90 | 90 | } |
91 | 91 | } catch (Exception $e) { |
92 | 92 | header("HTTP/1.0 500 Internal Server Error"); |
93 | - echo('ERROR: ' . $e->getMessage()); |
|
93 | + echo('ERROR: '.$e->getMessage()); |
|
94 | 94 | } |