@@ -57,7 +57,7 @@ discard block |
||
| 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 |
||
| 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 | |