Passed
Push — master ( 1000b4...c5339f )
by Joas
16:48 queued 12s
created
lib/private/Security/RateLimiting/Backend/MemoryCacheBackend.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	 */
66 66
 	private function hash(string $methodIdentifier,
67 67
 						  string $userIdentifier): string {
68
-		return hash('sha512', $methodIdentifier . $userIdentifier);
68
+		return hash('sha512', $methodIdentifier.$userIdentifier);
69 69
 	}
70 70
 
71 71
 	/**
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 		$existingAttempts = array_values($existingAttempts);
125 125
 
126 126
 		// Store the new attempt
127
-		$existingAttempts[] = (string)($currentTime + $period);
127
+		$existingAttempts[] = (string) ($currentTime + $period);
128 128
 
129 129
 		if (!$this->config->getSystemValueBool('ratelimit.protection.enabled', true)) {
130 130
 			return;
Please login to merge, or discard this patch.