diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-13 10:51:22 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-13 10:51:22 +0200 |
commit | b2de9a6f9e83d86250c113bfe9f4e7c0f18d9b6a (patch) | |
tree | 4f4f05bcf23ab3a6737a3436e66a976bf9c43c5c /apps/encryption/lib/Crypto/Encryption.php | |
parent | 349da3395a2a5e56fc0cdb77ae8e67182842d0bd (diff) | |
download | nextcloud-server-b2de9a6f9e83d86250c113bfe9f4e7c0f18d9b6a.tar.gz nextcloud-server-b2de9a6f9e83d86250c113bfe9f4e7c0f18d9b6a.zip |
The encryption decrypt position can be int or string
The public API said string, internally we treated it as int. In reality
both are used. Let's reflect that in the documented argument type.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/encryption/lib/Crypto/Encryption.php')
-rw-r--r-- | apps/encryption/lib/Crypto/Encryption.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/lib/Crypto/Encryption.php b/apps/encryption/lib/Crypto/Encryption.php index 263e9a15df8..6fa388e8875 100644 --- a/apps/encryption/lib/Crypto/Encryption.php +++ b/apps/encryption/lib/Crypto/Encryption.php @@ -360,7 +360,7 @@ class Encryption implements IEncryptionModule { * decrypt data * * @param string $data you want to decrypt - * @param int $position + * @param int|string $position * @return string decrypted data * @throws DecryptionFailedException */ |