Passed
Pull Request — master (#123)
by Sebastian
03:53
created
Classes/Api/Orcid/Client.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         try {
102 102
             $response = $this->requestFactory->request($url);
103 103
         } catch (\Exception $e) {
104
-            $this->logger->warning('Could not fetch data from URL "' . $url . '". Error: ' . $e->getMessage() . '.');
104
+            $this->logger->warning('Could not fetch data from URL "'.$url.'". Error: '.$e->getMessage().'.');
105 105
             return false;
106 106
         }
107 107
         return $response->getBody()->getContents();
@@ -114,11 +114,11 @@  discard block
 block discarded – undo
114 114
      **/
115 115
     private function getApiEndpoint()
116 116
     {
117
-        $url  = 'https://' . $this->level . '.' . self::HOSTNAME;
118
-        $url .= '/v' . self::VERSION . '/';
117
+        $url  = 'https://'.$this->level.'.'.self::HOSTNAME;
118
+        $url .= '/v'.self::VERSION.'/';
119 119
         $url .= '0000-0001-9483-5161';
120 120
         //$url .= $this->orcid;
121
-        $url .= '/' . $this->endpoint;
121
+        $url .= '/'.$this->endpoint;
122 122
         return $url;
123 123
     }
124 124
 }
Please login to merge, or discard this patch.