]> source.dussan.org Git - nextcloud-server.git/commitdiff
Moves single constructor parameters to new lines. 38774/head
authorFaraz Samapoor <fsa@adlas.at>
Tue, 13 Jun 2023 12:36:16 +0000 (16:06 +0330)
committerLouis <6653109+artonge@users.noreply.github.com>
Mon, 19 Jun 2023 15:44:48 +0000 (17:44 +0200)
Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
core/Command/Log/File.php
core/Command/Log/Manage.php
core/Command/Security/ImportCertificate.php
core/Command/Security/RemoveCertificate.php
core/Command/Security/ResetBruteforceAttempts.php
core/Command/SystemTag/Add.php
core/Command/SystemTag/Delete.php
core/Command/SystemTag/Edit.php
core/Command/SystemTag/ListCommand.php

index 4e3dc97a54649244e1b9a71044c6d7187fe8971c..978115d5aebdbd6d0655127020f1dd0d34a22bad 100644 (file)
@@ -36,7 +36,9 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class File extends Command implements Completion\CompletionAwareInterface {
-       public function __construct(protected IConfig $config) {
+       public function __construct(
+               protected IConfig $config,
+       ) {
                parent::__construct();
        }
 
index 500bc1e8a524d29c01d5da2fed3450d63ebe670b..7c25fdf8a6b214c14902118b2013d4915834caa4 100644 (file)
@@ -39,7 +39,9 @@ class Manage extends Command implements CompletionAwareInterface {
        public const DEFAULT_LOG_LEVEL = 2;
        public const DEFAULT_TIMEZONE = 'UTC';
 
-       public function __construct(protected IConfig $config) {
+       public function __construct(
+               protected IConfig $config,
+       ) {
                parent::__construct();
        }
 
index f3a44face48d25287f30f2c471ba2796a8a4f1a5..a7e9bd94e4a4332be5752cd510338286c62768e0 100644 (file)
@@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class ImportCertificate extends Base {
-       public function __construct(protected ICertificateManager $certificateManager) {
+       public function __construct(
+               protected ICertificateManager $certificateManager,
+       ) {
                parent::__construct();
        }
 
index 51ddfc981118128def13da16c4bf441bac6a7c72..7dcd2d02604aed4d5e49dd45d6f039e13698a23d 100644 (file)
@@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class RemoveCertificate extends Base {
-       public function __construct(protected ICertificateManager $certificateManager) {
+       public function __construct(
+               protected ICertificateManager $certificateManager,
+       ) {
                parent::__construct();
        }
 
index a203d1daa1073615efcb4b670bb09804659dd353..c0bc265c8f51960dd73e2e7aaf72b2b4777d0607 100644 (file)
@@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class ResetBruteforceAttempts extends Base {
-       public function __construct(protected Throttler $throttler) {
+       public function __construct(
+               protected Throttler $throttler,
+       ) {
                parent::__construct();
        }
 
index 7df8d5e03ebbe0b85e0e22f3d2af2c9a9db9d13d..067cd00118a9502d6c6c01ff63523cb574e9171d 100644 (file)
@@ -31,7 +31,9 @@ use Symfony\Component\Console\Input\InputInterface;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class Add extends Base {
-       public function __construct(protected ISystemTagManager $systemTagManager) {
+       public function __construct(
+               protected ISystemTagManager $systemTagManager,
+       ) {
                parent::__construct();
        }
 
index a23b09d4e56efefdce53fe35ee009ab590126da7..ed893ae037ca114a6f0a2a7e457e8f5a3e2b264e 100644 (file)
@@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class Delete extends Base {
-       public function __construct(protected ISystemTagManager $systemTagManager) {
+       public function __construct(
+               protected ISystemTagManager $systemTagManager,
+       ) {
                parent::__construct();
        }
 
index d3c68a2b76e60c115c4415bfb4f613bafd29af6c..111dc500e79920d1ab2bc8484bfeb2974a484f03 100644 (file)
@@ -31,7 +31,9 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class Edit extends Base {
-       public function __construct(protected ISystemTagManager $systemTagManager) {
+       public function __construct(
+               protected ISystemTagManager $systemTagManager,
+       ) {
                parent::__construct();
        }
 
index c968fb14ef2e0fee16927204102e37c0274bbebb..c0f4eba241c7000e35a66e4a941a549c84418468 100644 (file)
@@ -30,7 +30,9 @@ use Symfony\Component\Console\Input\InputOption;
 use Symfony\Component\Console\Output\OutputInterface;
 
 class ListCommand extends Base {
-       public function __construct(protected ISystemTagManager $systemTagManager) {
+       public function __construct(
+               protected ISystemTagManager $systemTagManager,
+       ) {
                parent::__construct();
        }