@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | public function __construct(IAppManager $appManager, |
| 64 | 64 | IClientService $httpClientService, |
| 65 | 65 | ICloudIdManager $cloudIdManager) { |
| 66 | - $this->cloudFederationProvider= []; |
|
| 66 | + $this->cloudFederationProvider = []; |
|
| 67 | 67 | $this->appManager = $appManager; |
| 68 | 68 | $this->httpClientService = $httpClientService; |
| 69 | 69 | $this->cloudIdManager = $cloudIdManager; |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | |
| 131 | 131 | $client = $this->httpClientService->newClient(); |
| 132 | 132 | try { |
| 133 | - $response = $client->post($ocmEndPoint . '/shares', [ |
|
| 133 | + $response = $client->post($ocmEndPoint.'/shares', [ |
|
| 134 | 134 | 'body' => $share->getShare(), |
| 135 | 135 | 'timeout' => 10, |
| 136 | 136 | 'connect_timeout' => 10, |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | $cloudId = $this->cloudIdManager->resolveCloudId($recipient); |
| 173 | 173 | $client = $this->httpClientService->newClient(); |
| 174 | 174 | try { |
| 175 | - $response = $client->get($cloudId->getRemote() . '/ocm-provider/', ['timeout' => 10, 'connect_timeout' => 10]); |
|
| 175 | + $response = $client->get($cloudId->getRemote().'/ocm-provider/', ['timeout' => 10, 'connect_timeout' => 10]); |
|
| 176 | 176 | } catch (\Exception $e) { |
| 177 | 177 | return ''; |
| 178 | 178 | } |