@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | return $lname; |
| 106 | 106 | } |
| 107 | 107 | // already a full URI |
| 108 | - return $this->getUriSpace() . $lname; |
|
| 108 | + return $this->getUriSpace().$lname; |
|
| 109 | 109 | } |
| 110 | 110 | |
| 111 | 111 | /** |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | $result = $sparql->queryConceptScheme($defaultcs); |
| 168 | 168 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
| 169 | 169 | if ($this->model->getConfig()->getLogCaughtExceptions()) { |
| 170 | - error_log('Caught exception: ' . $e->getMessage()); |
|
| 170 | + error_log('Caught exception: '.$e->getMessage()); |
|
| 171 | 171 | } |
| 172 | 172 | return null; |
| 173 | 173 | } |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | foreach ($conceptscheme->allLiterals($prop, null) as $val) { |
| 205 | 205 | $prop = (substr($prop, 0, 5) == 'dc11:') ? str_replace('dc11:', 'dc:', $prop) : $prop; |
| 206 | 206 | if ($val->getValue() instanceof DateTime) { |
| 207 | - $val = Punic\Calendar::formatDate($val->getValue(), 'full', $lang) . ' ' . Punic\Calendar::format($val->getValue(), 'HH:mm:ss', $lang); |
|
| 207 | + $val = Punic\Calendar::formatDate($val->getValue(), 'full', $lang).' '.Punic\Calendar::format($val->getValue(), 'HH:mm:ss', $lang); |
|
| 208 | 208 | } |
| 209 | 209 | if ($prop === 'dc:description') { |
| 210 | 210 | $ret[$prop] = [$val->getValue() => $val]; // override description from vocabulary config |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | $conceptSchemes = $this->getSparql()->queryConceptSchemes($lang); |
| 266 | 266 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
| 267 | 267 | if ($this->model->getConfig()->getLogCaughtExceptions()) { |
| 268 | - error_log('Caught exception: ' . $e->getMessage()); |
|
| 268 | + error_log('Caught exception: '.$e->getMessage()); |
|
| 269 | 269 | } |
| 270 | 270 | } |
| 271 | 271 | return $conceptSchemes; |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | } |
| 337 | 337 | // don't know how to parse |
| 338 | 338 | $rev = $parts[2]; |
| 339 | - $datestr = $parts[3] . ' ' . $parts[4]; |
|
| 339 | + $datestr = $parts[3].' '.$parts[4]; |
|
| 340 | 340 | |
| 341 | 341 | return "$datestr (r$rev)"; |
| 342 | 342 | } |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | * @param string $array the uri of the concept array class, eg. isothes:ThesaurusArray |
| 348 | 348 | * @param string $group the uri of the concept group class, eg. isothes:ConceptGroup |
| 349 | 349 | */ |
| 350 | - public function getStatistics($lang = '', $array=null, $group=null) |
|
| 350 | + public function getStatistics($lang = '', $array = null, $group = null) |
|
| 351 | 351 | { |
| 352 | 352 | $sparql = $this->getSparql(); |
| 353 | 353 | // find the number of concepts |
@@ -465,7 +465,7 @@ discard block |
||
| 465 | 465 | $conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang); |
| 466 | 466 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
| 467 | 467 | if ($this->model->getConfig()->getLogCaughtExceptions()) { |
| 468 | - error_log('Caught exception: ' . $e->getMessage()); |
|
| 468 | + error_log('Caught exception: '.$e->getMessage()); |
|
| 469 | 469 | } |
| 470 | 470 | } |
| 471 | 471 | return $conceptInfo; |
@@ -676,7 +676,7 @@ discard block |
||
| 676 | 676 | return $this->getSparql()->queryChangeList($prop, $clang, $offset, $limit, $showDeprecated); |
| 677 | 677 | } |
| 678 | 678 | |
| 679 | - public function getTitle($lang=null) { |
|
| 679 | + public function getTitle($lang = null) { |
|
| 680 | 680 | return $this->config->getTitle($lang); |
| 681 | 681 | } |
| 682 | 682 | |