@@ -166,10 +166,10 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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++) { |