Completed
Push — main ( 293a96...661ea7 )
by Dylan
02:41 queued 02:41
created
src/Connector.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 namespace Lifeboat;
4 4
 
5
-require_once __DIR__ . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'functions.php';
5
+require_once __DIR__.DIRECTORY_SEPARATOR.'includes'.DIRECTORY_SEPARATOR.'functions.php';
6 6
 
7 7
 use Lifeboat\Exceptions\BadMethodException;
8 8
 use Lifeboat\Exceptions\OAuthException;
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     public function curl_api(string $url, string $method = 'GET', array $data = [], array $headers = []): CurlResponse
143 143
     {
144 144
         $uri = URL::is_absolute_url($url) ? $url
145
-            : 'https://' . rtrim($this->getHost(), '/') . '/' . ltrim($url, '/');
145
+            : 'https://'.rtrim($this->getHost(), '/').'/'.ltrim($url, '/');
146 146
 
147 147
         $curl = new Curl($uri, $data, $headers);
148 148
 
@@ -178,6 +178,6 @@  discard block
 block discarded – undo
178 178
      */
179 179
     protected function auth_url(string $path): string
180 180
     {
181
-        return rtrim($this->_auth_domain, '/') . '/' . ltrim($path, '/');
181
+        return rtrim($this->_auth_domain, '/').'/'.ltrim($path, '/');
182 182
     }
183 183
 }
Please login to merge, or discard this patch.