aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Encryption/Manager.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-01-30 11:48:09 +0100
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-01-30 16:03:17 +0100
commitc1d67cc614ffd95f828ab9cad6e7b26846c7a67d (patch)
tree6f759773c41587ca22f83740e78cde1166b9625e /lib/private/Encryption/Manager.php
parentcc26a503a30ec6211bda539dbf3bbccec98c9b6d (diff)
downloadnextcloud-server-c1d67cc614ffd95f828ab9cad6e7b26846c7a67d.tar.gz
nextcloud-server-c1d67cc614ffd95f828ab9cad6e7b26846c7a67d.zip
chore: Fix DI for Encryption\DecryptAll command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Encryption/Manager.php')
-rw-r--r--lib/private/Encryption/Manager.php37
1 files changed, 10 insertions, 27 deletions
diff --git a/lib/private/Encryption/Manager.php b/lib/private/Encryption/Manager.php
index 28bee7dacb7..f48d259eea0 100644
--- a/lib/private/Encryption/Manager.php
+++ b/lib/private/Encryption/Manager.php
@@ -39,34 +39,17 @@ use OCP\IL10N;
use Psr\Log\LoggerInterface;
class Manager implements IManager {
- /** @var array */
- protected $encryptionModules;
-
- /** @var IConfig */
- protected $config;
-
- protected LoggerInterface $logger;
-
- /** @var Il10n */
- protected $l;
-
- /** @var View */
- protected $rootView;
-
- /** @var Util */
- protected $util;
-
- /** @var ArrayCache */
- protected $arrayCache;
-
- public function __construct(IConfig $config, LoggerInterface $logger, IL10N $l10n, View $rootView, Util $util, ArrayCache $arrayCache) {
+ protected array $encryptionModules;
+
+ public function __construct(
+ protected IConfig $config,
+ protected LoggerInterface $logger,
+ protected IL10N $l,
+ protected View $rootView,
+ protected Util $util,
+ protected ArrayCache $arrayCache,
+ ) {
$this->encryptionModules = [];
- $this->config = $config;
- $this->logger = $logger;
- $this->l = $l10n;
- $this->rootView = $rootView;
- $this->util = $util;
- $this->arrayCache = $arrayCache;
}
/**