From 9722bb5c540ddfe60bb4c44206956b93481ae2e6 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 8 Oct 2021 12:15:04 +0200 Subject: [PATCH] Fix psalm issue in Encryption stream Signed-off-by: Vincent Petry --- lib/private/Files/Stream/Encryption.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() {