Completed
Push — federated-circles ( 08a2a5...ec0d47 )
by Maxence
08:34
created
lib/Service/FederatedService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -166,10 +166,10 @@  discard block
 block discarded – undo
166 166
 	 */
167 167
 	private function generateLinkRemoteURL($remote) {
168 168
 		if (strpos($remote, 'http') !== 0) {
169
-			$remote = 'https://' . $remote;
169
+			$remote = 'https://'.$remote;
170 170
 		}
171 171
 
172
-		return rtrim($remote, '/') . '/index.php/apps/circles/circles/link/';
172
+		return rtrim($remote, '/').'/index.php/apps/circles/circles/link/';
173 173
 	}
174 174
 
175 175
 
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 			$result = json_decode($request->getBody(), true);
202 202
 			$this->requestLinkStatus($result);
203 203
 
204
-			$this->miscService->log("_____RESULT: " . var_export($result, true));
204
+			$this->miscService->log("_____RESULT: ".var_export($result, true));
205 205
 
206 206
 			return $result['status'];
207 207
 		} catch (Exception $e) {
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 	 *
241 241
 	 * @return bool
242 242
 	 */
243
-	public function initiateLink(Circle $circle, FederatedLink &$link) {
243
+	public function initiateLink(Circle $circle, FederatedLink & $link) {
244 244
 
245 245
 //		$token = '';
246 246
 //		for ($i = 0; $i <= 5; $i++) {
Please login to merge, or discard this patch.