diff options
author | Faraz Samapoor <fsa@adlas.at> | 2023-06-13 15:41:33 +0330 |
---|---|---|
committer | Louis <6653109+artonge@users.noreply.github.com> | 2023-06-20 09:29:50 +0200 |
commit | 51aae7866c5e6f34132b4e1549368a2466b29b33 (patch) | |
tree | 63eb8ee1043ae3cf4eaa1496eb69dce17f70eced /core/Command/Config | |
parent | 3519689d50434978a5ad083871686a9f59f9273e (diff) | |
download | nextcloud-server-51aae7866c5e6f34132b4e1549368a2466b29b33.tar.gz nextcloud-server-51aae7866c5e6f34132b4e1549368a2466b29b33.zip |
Moves single constructor parameters to new lines.
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Diffstat (limited to 'core/Command/Config')
-rw-r--r-- | core/Command/Config/App/DeleteConfig.php | 4 | ||||
-rw-r--r-- | core/Command/Config/App/GetConfig.php | 4 | ||||
-rw-r--r-- | core/Command/Config/App/SetConfig.php | 4 | ||||
-rw-r--r-- | core/Command/Config/Import.php | 4 | ||||
-rw-r--r-- | core/Command/Config/System/Base.php | 4 | ||||
-rw-r--r-- | core/Command/Config/System/DeleteConfig.php | 4 | ||||
-rw-r--r-- | core/Command/Config/System/GetConfig.php | 4 | ||||
-rw-r--r-- | core/Command/Config/System/SetConfig.php | 4 |
8 files changed, 24 insertions, 8 deletions
diff --git a/core/Command/Config/App/DeleteConfig.php b/core/Command/Config/App/DeleteConfig.php index 577378559b3..b77f27ccd07 100644 --- a/core/Command/Config/App/DeleteConfig.php +++ b/core/Command/Config/App/DeleteConfig.php @@ -28,7 +28,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class DeleteConfig extends Base { - public function __construct(protected IConfig $config) { + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } diff --git a/core/Command/Config/App/GetConfig.php b/core/Command/Config/App/GetConfig.php index 3ed327fac79..96078b63e90 100644 --- a/core/Command/Config/App/GetConfig.php +++ b/core/Command/Config/App/GetConfig.php @@ -28,7 +28,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class GetConfig extends Base { - public function __construct(protected IConfig $config) { + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } diff --git a/core/Command/Config/App/SetConfig.php b/core/Command/Config/App/SetConfig.php index dcc3fd58bf7..99746246b85 100644 --- a/core/Command/Config/App/SetConfig.php +++ b/core/Command/Config/App/SetConfig.php @@ -28,7 +28,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class SetConfig extends Base { - public function __construct(protected IConfig $config) { + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } diff --git a/core/Command/Config/Import.php b/core/Command/Config/Import.php index 90c92bff489..b8431c8c295 100644 --- a/core/Command/Config/Import.php +++ b/core/Command/Config/Import.php @@ -36,7 +36,9 @@ use Symfony\Component\Console\Output\OutputInterface; class Import extends Command implements CompletionAwareInterface { protected array $validRootKeys = ['system', 'apps']; - public function __construct(protected IConfig $config) { + public function __construct( + protected IConfig $config, + ) { parent::__construct(); } diff --git a/core/Command/Config/System/Base.php b/core/Command/Config/System/Base.php index 0824af8d18c..09ec456f6a4 100644 --- a/core/Command/Config/System/Base.php +++ b/core/Command/Config/System/Base.php @@ -26,7 +26,9 @@ use OC\SystemConfig; use Stecman\Component\Symfony\Console\BashCompletion\CompletionContext; abstract class Base extends \OC\Core\Command\Base { - public function __construct(protected SystemConfig $systemConfig) { + public function __construct( + protected SystemConfig $systemConfig, + ) { parent::__construct(); } diff --git a/core/Command/Config/System/DeleteConfig.php b/core/Command/Config/System/DeleteConfig.php index f4d49ba8f51..f6650e7d6d3 100644 --- a/core/Command/Config/System/DeleteConfig.php +++ b/core/Command/Config/System/DeleteConfig.php @@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class DeleteConfig extends Base { - public function __construct(SystemConfig $systemConfig) { + public function __construct( + SystemConfig $systemConfig, + ) { parent::__construct($systemConfig); } diff --git a/core/Command/Config/System/GetConfig.php b/core/Command/Config/System/GetConfig.php index 01bbf82d5d1..ab5b884fda4 100644 --- a/core/Command/Config/System/GetConfig.php +++ b/core/Command/Config/System/GetConfig.php @@ -29,7 +29,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class GetConfig extends Base { - public function __construct(SystemConfig $systemConfig) { + public function __construct( + SystemConfig $systemConfig, + ) { parent::__construct($systemConfig); } diff --git a/core/Command/Config/System/SetConfig.php b/core/Command/Config/System/SetConfig.php index 01a1999bcf9..ba5265a84d7 100644 --- a/core/Command/Config/System/SetConfig.php +++ b/core/Command/Config/System/SetConfig.php @@ -32,7 +32,9 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class SetConfig extends Base { - public function __construct(SystemConfig $systemConfig) { + public function __construct( + SystemConfig $systemConfig, + ) { parent::__construct($systemConfig); } |