Passed
Push — main ( 3386c6...5e4ea2 )
by
unknown
03:35
created
src/model/Model.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.