aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/Background
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-06-13 11:10:41 +0330
committerLouis <6653109+artonge@users.noreply.github.com>2023-06-19 12:55:27 +0200
commitcda0f74e0bf32082feca8b49836ae6316ad6c1b2 (patch)
tree1880fa52f57bf4ac5de364331d1d2e86d0c0b14d /core/Command/Background
parentea844ca5fbaacb8b4b68d82b6682fa01a1fa09e0 (diff)
downloadnextcloud-server-cda0f74e0bf32082feca8b49836ae6316ad6c1b2.tar.gz
nextcloud-server-cda0f74e0bf32082feca8b49836ae6316ad6c1b2.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/Background')
-rw-r--r--core/Command/Background/Base.php4
-rw-r--r--core/Command/Background/ListCommand.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/core/Command/Background/Base.php b/core/Command/Background/Base.php
index 130db9e79d8..5b2da21af75 100644
--- a/core/Command/Background/Base.php
+++ b/core/Command/Background/Base.php
@@ -39,7 +39,9 @@ use Symfony\Component\Console\Output\OutputInterface;
abstract class Base extends Command {
abstract protected function getMode();
- public function __construct(protected IConfig $config) {
+ public function __construct(
+ protected IConfig $config,
+ ) {
parent::__construct();
}
diff --git a/core/Command/Background/ListCommand.php b/core/Command/Background/ListCommand.php
index 6119fb76de9..a7b98a037a8 100644
--- a/core/Command/Background/ListCommand.php
+++ b/core/Command/Background/ListCommand.php
@@ -32,7 +32,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class ListCommand extends Base {
- public function __construct(protected IJobList $jobList) {
+ public function __construct(
+ protected IJobList $jobList,
+ ) {
parent::__construct();
}