From bcfbcbb91cd30209d6e7e1278c08fb678f483809 Mon Sep 17 00:00:00 2001 From: Faraz Samapoor Date: Tue, 13 Jun 2023 11:29:52 +0330 Subject: [PATCH] Moves single constructor parameters to new lines. Based on: https://github.com/nextcloud/server/pull/38764#discussion_r1227630895 Signed-off-by: Faraz Samapoor --- core/Command/Encryption/Disable.php | 4 +++- core/Command/Encryption/ShowKeyStorageRoot.php | 4 +++- core/Command/Encryption/Status.php | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/core/Command/Encryption/Disable.php b/core/Command/Encryption/Disable.php index e188e6be344..4c6e3431f93 100644 --- a/core/Command/Encryption/Disable.php +++ b/core/Command/Encryption/Disable.php @@ -27,7 +27,9 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Disable extends Command { - public function __construct(protected IConfig $config) { + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } diff --git a/core/Command/Encryption/ShowKeyStorageRoot.php b/core/Command/Encryption/ShowKeyStorageRoot.php index 33addebc1be..71b396540fd 100644 --- a/core/Command/Encryption/ShowKeyStorageRoot.php +++ b/core/Command/Encryption/ShowKeyStorageRoot.php @@ -29,7 +29,9 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class ShowKeyStorageRoot extends Command { - public function __construct(protected Util $util) { + public function __construct( + protected Util $util, + ) { parent::__construct(); } diff --git a/core/Command/Encryption/Status.php b/core/Command/Encryption/Status.php index 232e897299a..691b399203d 100644 --- a/core/Command/Encryption/Status.php +++ b/core/Command/Encryption/Status.php @@ -27,7 +27,9 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; class Status extends Base { - public function __construct(protected IManager $encryptionManager) { + public function __construct( + protected IManager $encryptionManager, + ) { parent::__construct(); }