Completed
Push — master ( 3808f8...455fb7 )
by Julius
39:53 queued 15s
created
lib/private/Federation/CloudIdManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 	public function handleUserEvent(Event $event): void {
52 52
 		if ($event instanceof UserChangedEvent && $event->getFeature() === 'displayName') {
53 53
 			$userId = $event->getUser()->getUID();
54
-			$key = $userId . '@local';
54
+			$key = $userId.'@local';
55 55
 			unset($this->cache[$key]);
56 56
 			$this->memCache->remove($key);
57 57
 		}
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 		$host = $this->removeProtocolFromUrl($remote);
168 168
 		$remote = $this->ensureDefaultProtocol($remote);
169 169
 
170
-		$key = $user . '@' . ($isLocal ? 'local' : $host);
170
+		$key = $user.'@'.($isLocal ? 'local' : $host);
171 171
 		$cached = $this->cache[$key] ?? $this->memCache->get($key);
172 172
 		if ($cached) {
173 173
 			$this->cache[$key] = $cached; // put items from memcache into local cache
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 		}
183 183
 
184 184
 		// For the visible cloudID we only strip away https
185
-		$id = $user . '@' . $this->removeProtocolFromUrl($remote, true);
185
+		$id = $user.'@'.$this->removeProtocolFromUrl($remote, true);
186 186
 
187 187
 		$data = [
188 188
 			'id' => $id,
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 
213 213
 	protected function ensureDefaultProtocol(string $remote): string {
214 214
 		if (!str_contains($remote, '://')) {
215
-			$remote = 'https://' . $remote;
215
+			$remote = 'https://'.$remote;
216 216
 		}
217 217
 
218 218
 		return $remote;
Please login to merge, or discard this patch.
lib/private/Federation/CloudId.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,9 +39,9 @@
 block discarded – undo
39 39
 		$atHost = str_replace(['http://', 'https://'], '', $this->getRemote());
40 40
 
41 41
 		if ($this->displayName) {
42
-			return $this->displayName . '@' . $atHost;
42
+			return $this->displayName.'@'.$atHost;
43 43
 		}
44
-		return $this->getUser() . '@' . $atHost;
44
+		return $this->getUser().'@'.$atHost;
45 45
 	}
46 46
 
47 47
 	/**
Please login to merge, or discard this patch.