Completed
Pull Request — master (#395)
by Tortue
02:02
created
lib/Service/SharingFrameService.php 1 patch
Spacing   +6 added lines, -6 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);
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
 			$this->initiateShare($circle->getUniqueId(), $frame->getUniqueId());
155 155
 		} catch (Exception $e) {
156
-			$this->miscService->log('fail to create frame for circle ' . $circleUniqueId . ' - ' . $e->getMessage());
156
+			$this->miscService->log('fail to create frame for circle '.$circleUniqueId.' - '.$e->getMessage());
157 157
 			throw $e;
158 158
 		}
159 159
 	}
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 
293 293
 		$client = $this->clientService->newClient();
294 294
 
295
-		$addr = $this->configService->getLocalAddress() . \OC::$WEBROOT;
295
+		$addr = $this->configService->getLocalAddress().\OC::$WEBROOT;
296 296
 
297 297
 		try {
298 298
 			$client->post(
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
 
308 308
 			return true;
309 309
 		} catch (Exception $e) {
310
-			$this->miscService->log('fail to initialise circle share to ' . $addr . ' for circle ' . $circleUniqueId . ' - ' . $e->getMessage(), 3);
310
+			$this->miscService->log('fail to initialise circle share to '.$addr.' for circle '.$circleUniqueId.' - '.$e->getMessage(), 3);
311 311
 			throw $e;
312 312
 		}
313 313
 	}
@@ -319,7 +319,7 @@  discard block
 block discarded – undo
319 319
 	 * @return string
320 320
 	 */
321 321
 	private function generatePayloadDeliveryURL($remote) {
322
-		return $this->configService->generateRemoteHost($remote) . Application::REMOTE_URL_PAYLOAD;
322
+		return $this->configService->generateRemoteHost($remote).Application::REMOTE_URL_PAYLOAD;
323 323
 	}
324 324
 
325 325
 
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 
394 394
 		} catch (Exception $e) {
395 395
 			$this->miscService->log(
396
-				'fail to send frame to ' . $link->getAddress() . ' - ' . $e->getMessage()
396
+				'fail to send frame to '.$link->getAddress().' - '.$e->getMessage()
397 397
 			);
398 398
 		}
399 399
 	}
Please login to merge, or discard this patch.
lib/Activity/ProviderParser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 				continue;
138 138
 			}
139 139
 
140
-			$replace['{' . $k . '}'] = $data[$k]['_parsed'];
140
+			$replace['{'.$k.'}'] = $data[$k]['_parsed'];
141 141
 		}
142 142
 
143 143
 		$line = strtr($line, $replace);
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
 		return [
302 302
 			'type'    => 'user',
303 303
 			'id'      => $member->getUserId(),
304
-			'name'    => $member->getDisplayName() . ' (' . $member->getTypeString() . ')',
304
+			'name'    => $member->getDisplayName().' ('.$member->getTypeString().')',
305 305
 			'_parsed' => $member->getDisplayName()
306 306
 		];
307 307
 	}
@@ -337,8 +337,8 @@  discard block
 block discarded – undo
337 337
 		return [
338 338
 			'type'    => 'circle',
339 339
 			'id'      => $link->getUniqueId(),
340
-			'name'    => $link->getToken() . '@' . $link->getAddress(),
341
-			'_parsed' => $link->getToken() . '@' . $link->getAddress()
340
+			'name'    => $link->getToken().'@'.$link->getAddress(),
341
+			'_parsed' => $link->getToken().'@'.$link->getAddress()
342 342
 		];
343 343
 	}
344 344
 
Please login to merge, or discard this patch.