summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-01-13 15:11:16 +0100
committerGitHub <noreply@github.com>2018-01-13 15:11:16 +0100
commit60f38d37fe5ca505258510adc1e106da54426510 (patch)
tree8eec0f6c9104361a9e82902270dedc767cf68453 /lib/public
parent1faef0c459a51a025f73f7eee46e5607ee6eedf5 (diff)
parent8d1dd1945fa6f5f382224da6bbd333ded8f2a31f (diff)
downloadnextcloud-server-60f38d37fe5ca505258510adc1e106da54426510.tar.gz
nextcloud-server-60f38d37fe5ca505258510adc1e106da54426510.zip
Merge pull request #7825 from nextcloud/add-type-hinting-for-ICrypto-decrypt
Adds type hinting for scalar types in ICrypto->decrypt
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Security/ICrypto.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Security/ICrypto.php b/lib/public/Security/ICrypto.php
index 0de2e47b755..aa2b9eed2c0 100644
--- a/lib/public/Security/ICrypto.php
+++ b/lib/public/Security/ICrypto.php
@@ -61,5 +61,5 @@ interface ICrypto {
* @throws \Exception If the HMAC does not match
* @since 8.0.0
*/
- public function decrypt($authenticatedCiphertext, $password = '');
+ public function decrypt(string $authenticatedCiphertext, string $password = ''): string;
}