@@ -2,7 +2,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |