Completed
Push — master ( 869df2...92b5b5 )
by Morris
33:59 queued 18:48
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
 			$this->nonce = base64_encode($this->csrfTokenManager->getToken()->getEncryptedValue());
62 62
 		}
63 63
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 			'/^Mozilla\/5\.0 \([^)]+\) AppleWebKit\/[0-9.]+ \(KHTML, like Gecko\) Version\/(1[2-9]|[2-9][0-9])\.[0-9]+ Safari\/[0-9.A-Z]+$/',
79 79
 		];
80 80
 
81
-		if($this->request->isUserAgent($browserWhitelist)) {
81
+		if ($this->request->isUserAgent($browserWhitelist)) {
82 82
 			return true;
83 83
 		}
84 84
 
Please login to merge, or discard this patch.