@@ -211,10 +211,10 @@ discard block |
||
211 | 211 | */ |
212 | 212 | private function generateLinkRemoteURL($remote) { |
213 | 213 | if (strpos($remote, 'https') !== 0) { |
214 | - $remote = 'https://' . $remote; |
|
214 | + $remote = 'https://'.$remote; |
|
215 | 215 | } |
216 | 216 | |
217 | - return rtrim($remote, '/') . '/index.php/apps/circles/circles/link/'; |
|
217 | + return rtrim($remote, '/').'/index.php/apps/circles/circles/link/'; |
|
218 | 218 | } |
219 | 219 | |
220 | 220 | /** |
@@ -224,10 +224,10 @@ discard block |
||
224 | 224 | */ |
225 | 225 | private function generatePayloadDeliveryURL($remote) { |
226 | 226 | if (strpos($remote, 'http') !== 0) { |
227 | - $remote = 'http://' . $remote; |
|
227 | + $remote = 'http://'.$remote; |
|
228 | 228 | } |
229 | 229 | |
230 | - return rtrim($remote, '/') . '/index.php/apps/circles/circles/payload/'; |
|
230 | + return rtrim($remote, '/').'/index.php/apps/circles/circles/payload/'; |
|
231 | 231 | } |
232 | 232 | |
233 | 233 | |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | * @return int |
242 | 242 | * @throws Exception |
243 | 243 | */ |
244 | - private function requestLink(Circle $circle, FederatedLink &$link) { |
|
244 | + private function requestLink(Circle $circle, FederatedLink & $link) { |
|
245 | 245 | $args = [ |
246 | 246 | 'token' => $link->getToken(), |
247 | 247 | 'uniqueId' => $circle->getUniqueId(), |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | * |
317 | 317 | * @return bool |
318 | 318 | */ |
319 | - public function initiateLink(Circle $circle, FederatedLink &$link) { |
|
319 | + public function initiateLink(Circle $circle, FederatedLink & $link) { |
|
320 | 320 | |
321 | 321 | $link->setCircleId($circle->getId()); |
322 | 322 | |
@@ -338,7 +338,7 @@ discard block |
||
338 | 338 | * @return bool |
339 | 339 | * @throws Exception |
340 | 340 | */ |
341 | - public function receiveFrame(string $token, string $uniqueId, SharingFrame &$frame) { |
|
341 | + public function receiveFrame(string $token, string $uniqueId, SharingFrame & $frame) { |
|
342 | 342 | |
343 | 343 | $link = $this->circlesRequest->getLinkFromToken($token, $uniqueId); |
344 | 344 | if ($link === null) { |
@@ -414,7 +414,7 @@ discard block |
||
414 | 414 | |
415 | 415 | $result = json_decode($request->getBody(), true); |
416 | 416 | $this->miscService->log( |
417 | - "initiateRemoteShare result: " . $uniqueId . ' ---- ' . var_export($result, true) |
|
417 | + "initiateRemoteShare result: ".$uniqueId.' ---- '.var_export($result, true) |
|
418 | 418 | ); |
419 | 419 | |
420 | 420 | return true; |