@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | if ($data === CHANGE_PASSPHRASE_SUCCESS) { |
57 | 57 | // Reset cached passphrase. |
58 | 58 | $encryptionStore = EncryptionStore::getInstance(); |
59 | - withPHPSession(function () use ($encryptionStore) { |
|
59 | + withPHPSession(function() use ($encryptionStore) { |
|
60 | 60 | $encryptionStore->add('smime', ''); |
61 | 61 | }); |
62 | 62 | } |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | $encryptionStore->add('smime', $data['passphrase'], time() + (5 * 60)); |
168 | 168 | } |
169 | 169 | else { |
170 | - withPHPSession(function () use ($encryptionStore, $data) { |
|
170 | + withPHPSession(function() use ($encryptionStore, $data) { |
|
171 | 171 | $encryptionStore->add('smime', $data['passphrase']); |
172 | 172 | }); |
173 | 173 | } |