@@ -439,9 +439,9 @@ |
||
439 | 439 | try { |
440 | 440 | $conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang); |
441 | 441 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
442 | - if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
443 | - error_log('Caught exception: ' . $e->getMessage()); |
|
444 | - } |
|
442 | + if ($this->model->getConfig()->getLogCaughtExceptions()) { |
|
443 | + error_log('Caught exception: ' . $e->getMessage()); |
|
444 | + } |
|
445 | 445 | } |
446 | 446 | return $conceptInfo; |
447 | 447 | } |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | return $lname; |
103 | 103 | } |
104 | 104 | // already a full URI |
105 | - return $this->getUriSpace() . $lname; |
|
105 | + return $this->getUriSpace().$lname; |
|
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | foreach ($conceptscheme->allLiterals($prop, null) as $val) { |
191 | 191 | $prop = (substr($prop, 0, 5) == 'dc11:') ? str_replace('dc11:', 'dc:', $prop) : $prop; |
192 | 192 | if ($val->getValue() instanceof DateTime) { |
193 | - $val = Punic\Calendar::formatDate($val->getValue(), 'full', $lang) . ' ' . Punic\Calendar::format($val->getValue(), 'HH:mm:ss', $lang); |
|
193 | + $val = Punic\Calendar::formatDate($val->getValue(), 'full', $lang).' '.Punic\Calendar::format($val->getValue(), 'HH:mm:ss', $lang); |
|
194 | 194 | } |
195 | 195 | $ret[$prop][] = $val; |
196 | 196 | } |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | } |
312 | 312 | // don't know how to parse |
313 | 313 | $rev = $parts[2]; |
314 | - $datestr = $parts[3] . ' ' . $parts[4]; |
|
314 | + $datestr = $parts[3].' '.$parts[4]; |
|
315 | 315 | |
316 | 316 | return "$datestr (r$rev)"; |
317 | 317 | } |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | * @param string $array the uri of the concept array class, eg. isothes:ThesaurusArray |
323 | 323 | * @param string $group the uri of the concept group class, eg. isothes:ConceptGroup |
324 | 324 | */ |
325 | - public function getStatistics($lang = '', $array=null, $group=null) |
|
325 | + public function getStatistics($lang = '', $array = null, $group = null) |
|
326 | 326 | { |
327 | 327 | $sparql = $this->getSparql(); |
328 | 328 | // find the number of concepts |
@@ -438,9 +438,9 @@ discard block |
||
438 | 438 | $conceptInfo = null; |
439 | 439 | try { |
440 | 440 | $conceptInfo = $sparql->queryConceptInfo($uri, $this->config->getArrayClassURI(), array($this), $clang); |
441 | - } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
|
441 | + } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
|
442 | 442 | if ($this->model->getConfig()->getLogCaughtExceptions()) { |
443 | - error_log('Caught exception: ' . $e->getMessage()); |
|
443 | + error_log('Caught exception: '.$e->getMessage()); |
|
444 | 444 | } |
445 | 445 | } |
446 | 446 | return $conceptInfo; |
@@ -650,7 +650,7 @@ discard block |
||
650 | 650 | return $this->getSparql()->queryChangeList($prop, $clang, $offset, $limit); |
651 | 651 | } |
652 | 652 | |
653 | - public function getTitle($lang=null) { |
|
653 | + public function getTitle($lang = null) { |
|
654 | 654 | return $this->config->getTitle($lang); |
655 | 655 | } |
656 | 656 |