@@ -85,7 +85,7 @@ |
||
| 85 | 85 | } |
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | - * @return string |
|
| 88 | + * @return boolean |
|
| 89 | 89 | */ |
| 90 | 90 | public function getUseOperatorUnits() |
| 91 | 91 | { |
@@ -80,10 +80,10 @@ discard block |
||
| 80 | 80 | if (preg_match('#http[s]*://#u', $this->serviceUrls[$serviceName])) { |
| 81 | 81 | return $this->serviceUrls[$serviceName]; |
| 82 | 82 | } |
| 83 | - return $this->baseUrl . $this->serviceUrls[$serviceName]; |
|
| 83 | + return $this->baseUrl.$this->serviceUrls[$serviceName]; |
|
| 84 | 84 | } |
| 85 | 85 | |
| 86 | - return $this->baseUrl . '/json/v5/' . strtolower($serviceName); |
|
| 86 | + return $this->baseUrl.'/json/v5/'.strtolower($serviceName); |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | private function prepareHeaders(TransportRequestInterface $request) |
| 203 | 203 | { |
| 204 | 204 | $headers = array_merge([ |
| 205 | - 'Authorization' => 'Bearer ' . $request->getCredentials()->getToken(), |
|
| 205 | + 'Authorization' => 'Bearer '.$request->getCredentials()->getToken(), |
|
| 206 | 206 | 'Client-Login' => $request->getCredentials()->getLogin(), |
| 207 | 207 | 'Accept-Language' => $request->getLanguage(), |
| 208 | 208 | ], $this->headers); |