aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Encryption/SetDefaultModule.php
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-06-12 17:52:30 +0330
committerLouis <6653109+artonge@users.noreply.github.com>2023-06-20 16:24:46 +0200
commitf9a9ad50c3f4cc49db42d62430331f175de13a70 (patch)
treee3aa45f7bcd1a7d33a006028115ffd70e2674b6a /core/Command/Encryption/SetDefaultModule.php
parent14ac281acf143606c54e59e3641c9d0d898e5f95 (diff)
downloadnextcloud-server-f9a9ad50c3f4cc49db42d62430331f175de13a70.tar.gz
nextcloud-server-f9a9ad50c3f4cc49db42d62430331f175de13a70.zip
Uses PHP8's constructor property promotion in core/Command/Encryption classes.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'core/Command/Encryption/SetDefaultModule.php')
-rw-r--r--core/Command/Encryption/SetDefaultModule.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/core/Command/Encryption/SetDefaultModule.php b/core/Command/Encryption/SetDefaultModule.php
index b50e004867f..f4106926778 100644
--- a/core/Command/Encryption/SetDefaultModule.php
+++ b/core/Command/Encryption/SetDefaultModule.php
@@ -31,16 +31,11 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class SetDefaultModule extends Command {
- protected IManager $encryptionManager;
- protected IConfig $config;
-
public function __construct(
- IManager $encryptionManager,
- IConfig $config
+ protected IManager $encryptionManager,
+ protected IConfig $config,
) {
parent::__construct();
- $this->encryptionManager = $encryptionManager;
- $this->config = $config;
}
protected function configure() {