]> source.dussan.org Git - nextcloud-server.git/commitdiff
Moves single constructor parameters to new lines. 38769/head
authorFaraz Samapoor <fsa@adlas.at>
Tue, 13 Jun 2023 07:40:41 +0000 (11:10 +0330)
committerLouis <6653109+artonge@users.noreply.github.com>
Mon, 19 Jun 2023 10:55:27 +0000 (12:55 +0200)
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
core/Command/App/Disable.php
core/Command/App/ListApps.php
core/Command/Background/Base.php
core/Command/Background/ListCommand.php
core/Command/Broadcast/Test.php

index c31d65d946479f1a34b6e2179777659abbd703fe..c5abc6c95cf014893b86f30b3017ae95ed6a057e 100644 (file)
@@ -35,7 +35,9 @@ use Symfony\Component\Console\Output\OutputInterface;
 class Disable extends Command implements CompletionAwareInterface {
        protected int $exitCode = 0;
 
-       public function __construct(protected IAppManager $appManager) {
+       public function __construct(
+               protected IAppManager $appManager,
+       ) {
                parent::__construct();
        }
 
index cb48c2007b0680c2ecf44c38648fae17af1953ae..24856304afc39a84e063b5a20ed2dd8069852740 100644 (file)
@@ -33,7 +33,9 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class ListApps extends Base {
-       public function __construct(protected IAppManager $manager) {
+       public function __construct(
+               protected IAppManager $manager,
+       ) {
                parent::__construct();
        }
 
index 130db9e79d846225187848901a566d547f98f394..5b2da21af75f10181f4f89419a1d93b3dbc45b44 100644 (file)
@@ -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();
        }
 
index 6119fb76de9ae577a4a1c0cafb080371cc997f52..a7b98a037a89f8d0fecb6cac1c83f6739d950737 100644 (file)
@@ -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();
        }
 
index 71d7e2cacdb73cf892016f4730e138df6dd04ba5..da450f30ca8c8dfa93559626f96cf5eafc1933d2 100644 (file)
@@ -34,7 +34,9 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class Test extends Command {
-       public function __construct(private IEventDispatcher $eventDispatcher) {
+       public function __construct(
+               private IEventDispatcher $eventDispatcher,
+       ) {
                parent::__construct();
        }