aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Security/Crypto.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Security/Crypto.php')
-rw-r--r--lib/private/Security/Crypto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Security/Crypto.php b/lib/private/Security/Crypto.php
index 1dd680ea13f..d2be1484279 100644
--- a/lib/private/Security/Crypto.php
+++ b/lib/private/Security/Crypto.php
@@ -108,7 +108,7 @@ class Crypto implements ICrypto {
* @return string plaintext
* @throws \Exception If the HMAC does not match
*/
- public function decrypt($authenticatedCiphertext, $password = '') {
+ public function decrypt(string $authenticatedCiphertext, string $password = ''): string {
if($password === '') {
$password = $this->config->getSystemValue('secret');
}