Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-01-12 18:30:35 +0300
committerMorris Jobke <hey@morrisjobke.de>2018-01-13 02:06:03 +0300
commitca28df6fcc633a1e6a93bd2e19714e64899cd134 (patch)
tree6d39df644ad118779232570f87262dbdea154226 /lib/public/Security
parent16f4d71efd257e66550d61013e39ecf96c10fa0f (diff)
Adds type hinting for scalar types in ICrypto->decrypt
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/Security')
-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;
}