Completed
Pull Request — master (#380)
by Maxence
02:03
created
lib/Service/SharingFrameService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 		}
140 140
 
141 141
 		$this->miscService->log(
142
-			'Create frame with payload ' . json_encode($frame->getPayload()) . ' as ' . $userId, 0
142
+			'Create frame with payload '.json_encode($frame->getPayload()).' as '.$userId, 0
143 143
 		);
144 144
 		try {
145 145
 			$circle = $this->circlesRequest->getCircle($circleUniqueId, $userId);
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 		try {
294 294
 			$client->post(
295 295
 				$this->generatePayloadDeliveryURL(
296
-					$this->configService->getLocalAddress() . \OC::$WEBROOT
296
+					$this->configService->getLocalAddress().\OC::$WEBROOT
297 297
 				), [
298 298
 					'body'            => $args,
299 299
 					'timeout'         => Application::CLIENT_TIMEOUT,
@@ -314,7 +314,7 @@  discard block
 block discarded – undo
314 314
 	 * @return string
315 315
 	 */
316 316
 	private function generatePayloadDeliveryURL($remote) {
317
-		return $this->configService->generateRemoteHost($remote) . Application::REMOTE_URL_PAYLOAD;
317
+		return $this->configService->generateRemoteHost($remote).Application::REMOTE_URL_PAYLOAD;
318 318
 	}
319 319
 
320 320
 
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
 
389 389
 		} catch (Exception $e) {
390 390
 			$this->miscService->log(
391
-				'fail to send frame to ' . $link->getAddress() . ' - ' . $e->getMessage()
391
+				'fail to send frame to '.$link->getAddress().' - '.$e->getMessage()
392 392
 			);
393 393
 		}
394 394
 	}
Please login to merge, or discard this patch.