summaryrefslogtreecommitdiffstats
path: root/core/Command
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-06-13 12:10:10 +0330
committerLouis <6653109+artonge@users.noreply.github.com>2023-06-19 12:55:22 +0200
commitd60bedfeeeca8f21fe148b4ec755144d31cc3704 (patch)
treeeb47c47c07476234eb2c69159404e31726e6b33b /core/Command
parentec632641537ce1f55949a584582bb94c9f309940 (diff)
downloadnextcloud-server-d60bedfeeeca8f21fe148b4ec755144d31cc3704.tar.gz
nextcloud-server-d60bedfeeeca8f21fe148b4ec755144d31cc3704.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')
-rw-r--r--core/Command/Maintenance/Mimetype/UpdateJS.php4
-rw-r--r--core/Command/Maintenance/Mode.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/core/Command/Maintenance/Mimetype/UpdateJS.php b/core/Command/Maintenance/Mimetype/UpdateJS.php
index fb0244e59ba..71145907b9e 100644
--- a/core/Command/Maintenance/Mimetype/UpdateJS.php
+++ b/core/Command/Maintenance/Mimetype/UpdateJS.php
@@ -31,7 +31,9 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class UpdateJS extends Command {
- public function __construct(protected IMimeTypeDetector $mimetypeDetector) {
+ public function __construct(
+ protected IMimeTypeDetector $mimetypeDetector,
+ ) {
parent::__construct();
}
diff --git a/core/Command/Maintenance/Mode.php b/core/Command/Maintenance/Mode.php
index 88ca2359155..685c2fa0837 100644
--- a/core/Command/Maintenance/Mode.php
+++ b/core/Command/Maintenance/Mode.php
@@ -33,7 +33,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Mode extends Command {
- public function __construct(protected IConfig $config) {
+ public function __construct(
+ protected IConfig $config,
+ ) {
parent::__construct();
}