@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | $this->translator = new Translator($langcode); |
| 41 | 41 | } |
| 42 | 42 | $this->translator->addLoader('json', new JsonFileLoader()); |
| 43 | - $this->translator->addResource('json', __DIR__.'/../../resource/translations/messages.' . $langcode . '.json', $langcode); |
|
| 43 | + $this->translator->addResource('json', __DIR__.'/../../resource/translations/messages.'.$langcode.'.json', $langcode); |
|
| 44 | 44 | } |
| 45 | 45 | $this->initializeLogging(); |
| 46 | 46 | } |
@@ -533,7 +533,7 @@ discard block |
||
| 533 | 533 | } |
| 534 | 534 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
| 535 | 535 | if ($this->getConfig()->getLogCaughtExceptions()) { |
| 536 | - error_log('Caught exception: ' . $e->getMessage()); |
|
| 536 | + error_log('Caught exception: '.$e->getMessage()); |
|
| 537 | 537 | } |
| 538 | 538 | break; |
| 539 | 539 | } |
@@ -549,7 +549,7 @@ discard block |
||
| 549 | 549 | } |
| 550 | 550 | } catch (EasyRdf\Http\Exception | EasyRdf\Exception | Throwable $e) { |
| 551 | 551 | if ($this->getConfig()->getLogCaughtExceptions()) { |
| 552 | - error_log('Caught exception: ' . $e->getMessage()); |
|
| 552 | + error_log('Caught exception: '.$e->getMessage()); |
|
| 553 | 553 | } |
| 554 | 554 | break; |
| 555 | 555 | } |
@@ -622,7 +622,7 @@ discard block |
||
| 622 | 622 | // using apc cache for the resource if available |
| 623 | 623 | if ($this->globalConfig->getCache()->isAvailable()) { |
| 624 | 624 | // @codeCoverageIgnoreStart |
| 625 | - $key = 'fetch: ' . $uri; |
|
| 625 | + $key = 'fetch: '.$uri; |
|
| 626 | 626 | $resource = $this->globalConfig->getCache()->fetch($key); |
| 627 | 627 | if ($resource === null || $resource === false) { // was not found in cache, or previous request failed |
| 628 | 628 | $resource = $this->resolver->resolve($uri, $this->getConfig()->getHttpTimeout()); |
@@ -643,7 +643,7 @@ discard block |
||
| 643 | 643 | */ |
| 644 | 644 | public function getSparqlImplementation($dialect, $endpoint, $graph) |
| 645 | 645 | { |
| 646 | - $classname = $dialect . "Sparql"; |
|
| 646 | + $classname = $dialect."Sparql"; |
|
| 647 | 647 | |
| 648 | 648 | return new $classname($endpoint, $graph, $this); |
| 649 | 649 | } |