Completed
Push — master ( 88c31a...f0b6de )
by Maxence
24s queued 12s
created
lib/Service/SharingFrameService.php 1 patch
Spacing   +7 added lines, -7 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);
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 			$this->initiateShare($circle->getUniqueId(), $frame->getUniqueId());
155 155
 		} catch (Exception $e) {
156 156
 			$this->miscService->log(
157
-				'fail to create frame for circle ' . $circleUniqueId . ' - ' . $e->getMessage()
157
+				'fail to create frame for circle '.$circleUniqueId.' - '.$e->getMessage()
158 158
 			);
159 159
 			throw $e;
160 160
 		}
@@ -293,7 +293,7 @@  discard block
 block discarded – undo
293 293
 		];
294 294
 
295 295
 		$client = $this->clientService->newClient();
296
-		$addr = $this->configService->getLocalAddress() . \OC::$WEBROOT;
296
+		$addr = $this->configService->getLocalAddress().\OC::$WEBROOT;
297 297
 		$opts = [
298 298
 			'body'            => $args,
299 299
 			'timeout'         => Application::CLIENT_TIMEOUT,
@@ -310,8 +310,8 @@  discard block
 block discarded – undo
310 310
 			return true;
311 311
 		} catch (Exception $e) {
312 312
 			$this->miscService->log(
313
-				'fail to initialise circle share to ' . $addr . ' for circle ' . $circleUniqueId . ' - '
314
-				. json_encode($opts) . ' - ' . $e->getMessage(), 3
313
+				'fail to initialise circle share to '.$addr.' for circle '.$circleUniqueId.' - '
314
+				. json_encode($opts).' - '.$e->getMessage(), 3
315 315
 			);
316 316
 			throw $e;
317 317
 		}
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 	 * @return string
325 325
 	 */
326 326
 	private function generatePayloadDeliveryURL($remote) {
327
-		return $this->configService->generateRemoteHost($remote) . Application::REMOTE_URL_PAYLOAD;
327
+		return $this->configService->generateRemoteHost($remote).Application::REMOTE_URL_PAYLOAD;
328 328
 	}
329 329
 
330 330
 
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
 
399 399
 		} catch (Exception $e) {
400 400
 			$this->miscService->log(
401
-				'fail to send frame to ' . $link->getAddress() . ' - ' . $e->getMessage()
401
+				'fail to send frame to '.$link->getAddress().' - '.$e->getMessage()
402 402
 			);
403 403
 		}
404 404
 	}
Please login to merge, or discard this patch.