From e8c1f75064ae008e50daa087924de5d29368747e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Mon, 21 Mar 2022 10:14:16 +0100 Subject: Fixing psalm errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Encryption constructor is problematic and should still be fixed later. Signed-off-by: Côme Chilliet --- lib/private/Files/Storage/Wrapper/Encryption.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/private/Files/Storage') diff --git a/lib/private/Files/Storage/Wrapper/Encryption.php b/lib/private/Files/Storage/Wrapper/Encryption.php index a03dd0ba441..4cfe932cc9f 100644 --- a/lib/private/Files/Storage/Wrapper/Encryption.php +++ b/lib/private/Files/Storage/Wrapper/Encryption.php @@ -98,15 +98,15 @@ class Encryption extends Wrapper { */ public function __construct( $parameters, - IManager $encryptionManager, - Util $util, - LoggerInterface $logger, - IFile $fileHelper, - string $uid, - IStorage $keyStorage, - Update $update, - Manager $mountManager, - ArrayCache $arrayCache + IManager $encryptionManager = null, + Util $util = null, + LoggerInterface $logger = null, + IFile $fileHelper = null, + $uid = null, + IStorage $keyStorage = null, + Update $update = null, + Manager $mountManager = null, + ArrayCache $arrayCache = null ) { $this->mountPoint = $parameters['mountPoint']; $this->mount = $parameters['mount']; -- cgit v1.2.3