@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | if ($data === CHANGE_PASSPHRASE_SUCCESS) { |
62 | 62 | // Reset cached passphrase. |
63 | 63 | $encryptionStore = EncryptionStore::getInstance(); |
64 | - withPHPSession(function () use ($encryptionStore) { |
|
64 | + withPHPSession(function() use ($encryptionStore) { |
|
65 | 65 | $encryptionStore->add('smime', ''); |
66 | 66 | }); |
67 | 67 | } |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | $encryptionStore->add('smime', $data['passphrase'], time() + (5 * 60)); |
174 | 174 | } |
175 | 175 | else { |
176 | - withPHPSession(function () use ($encryptionStore, $data) { |
|
176 | + withPHPSession(function() use ($encryptionStore, $data) { |
|
177 | 177 | $encryptionStore->add('smime', $data['passphrase']); |
178 | 178 | }); |
179 | 179 | } |
@@ -83,7 +83,7 @@ |
||
83 | 83 | catch (MAPIException $e) { |
84 | 84 | $this->sendFeedback(false, $this->errorDetailsFromException($e)); |
85 | 85 | } |
86 | - catch (AccountException|BackendException $e) { |
|
86 | + catch (AccountException | BackendException $e) { |
|
87 | 87 | $this->sendFeedback(false, [ |
88 | 88 | 'type' => ERROR_GENERAL, |
89 | 89 | 'info' => [ |