Passed
Push — master ( 940a31...057e88 )
by Roeland
12:22 queued 10s
created
lib/private/Security/CSP/ContentSecurityPolicyNonceManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 	 * @return string
58 58
 	 */
59 59
 	public function getNonce(): string {
60
-		if($this->nonce === '') {
60
+		if ($this->nonce === '') {
61 61
 			if (empty($this->request->server['CSP_NONCE'])) {
62 62
 				$this->nonce = base64_encode($this->csrfTokenManager->getToken()->getEncryptedValue());
63 63
 			} else {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 			'/^Mozilla\/5\.0 \([^)]+\) AppleWebKit\/[0-9.]+ \(KHTML, like Gecko\) Version\/(1[2-9]|[2-9][0-9])\.[0-9]+ Safari\/[0-9.A-Z]+$/',
83 83
 		];
84 84
 
85
-		if($this->request->isUserAgent($browserWhitelist)) {
85
+		if ($this->request->isUserAgent($browserWhitelist)) {
86 86
 			return true;
87 87
 		}
88 88
 
Please login to merge, or discard this patch.