Passed
Push — main ( 05477b...319ffc )
by Dylan
02:07
created
src/Connector.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
     public function curl_api(string $url, string $method = 'GET', array $data = [], array $headers = []): CurlResponse
134 134
     {
135 135
         $url = URL::is_absolute_url($url) ? $url
136
-            : 'https://' . rtrim($this->getHost(), '/') . '/' . ltrim($url, '/');
136
+            : 'https://'.rtrim($this->getHost(), '/').'/'.ltrim($url, '/');
137 137
 
138 138
         $curl = new Curl($url, $data, $headers);
139 139
 
@@ -152,6 +152,6 @@  discard block
 block discarded – undo
152 152
      */
153 153
     protected function auth_url(string $path): string
154 154
     {
155
-        return rtrim($this->_auth_domain, '/') . '/' . ltrim($path, '/');
155
+        return rtrim($this->_auth_domain, '/').'/'.ltrim($path, '/');
156 156
     }
157 157
 }
Please login to merge, or discard this patch.