aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2021-10-08 12:15:04 +0200
committerVincent Petry <vincent@nextcloud.com>2021-10-08 12:15:04 +0200
commit9722bb5c540ddfe60bb4c44206956b93481ae2e6 (patch)
treead6e094d3e7814b49499c51ba79879f92f140116
parentea674e1ec8e14cac0cff76823b0d264a744e093f (diff)
downloadnextcloud-server-9722bb5c540ddfe60bb4c44206956b93481ae2e6.tar.gz
nextcloud-server-9722bb5c540ddfe60bb4c44206956b93481ae2e6.zip
Fix psalm issue in Encryption stream
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
-rw-r--r--lib/private/Files/Stream/Encryption.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Stream/Encryption.php b/lib/private/Files/Stream/Encryption.php
index fc75ead1e45..014f752a162 100644
--- a/lib/private/Files/Stream/Encryption.php
+++ b/lib/private/Files/Stream/Encryption.php
@@ -524,7 +524,7 @@ class Encryption extends Wrapper {
/**
* write header at beginning of encrypted file
*
- * @return integer
+ * @return int|false
* @throws EncryptionHeaderKeyExistsException if header key is already in use
*/
protected function writeHeader() {