Completed
Push — master ( c77c85...d104a4 )
by Maxence
02:34
created
lib/Service/SharingFrameService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
 	 * @return bool
240 240
 	 * @throws Exception
241 241
 	 */
242
-	public function receiveFrame($token, $uniqueId, SharingFrame &$frame) {
242
+	public function receiveFrame($token, $uniqueId, SharingFrame & $frame) {
243 243
 		try {
244 244
 			$link = $this->federatedLinksRequest->getLinkFromToken((string)$token, (string)$uniqueId);
245 245
 			$circle = $this->circlesRequest->forceGetCircle($link->getCircleId());
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
 		try {
280 280
 			$client->post(
281 281
 				$this->generatePayloadDeliveryURL(
282
-					$this->configService->getLocalAddress() . \OC::$WEBROOT
282
+					$this->configService->getLocalAddress().\OC::$WEBROOT
283 283
 				), [
284 284
 					'body'            => $args,
285 285
 					'timeout'         => Application::CLIENT_TIMEOUT,
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
 	 * @return string
301 301
 	 */
302 302
 	private function generatePayloadDeliveryURL($remote) {
303
-		return $this->configService->generateRemoteHost($remote) . Application::REMOTE_URL_PAYLOAD;
303
+		return $this->configService->generateRemoteHost($remote).Application::REMOTE_URL_PAYLOAD;
304 304
 	}
305 305
 
306 306
 
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
 
375 375
 		} catch (Exception $e) {
376 376
 			$this->miscService->log(
377
-				'fail to send frame to ' . $link->getAddress() . ' - ' . $e->getMessage()
377
+				'fail to send frame to '.$link->getAddress().' - '.$e->getMessage()
378 378
 			);
379 379
 		}
380 380
 	}
Please login to merge, or discard this patch.