aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFaraz Samapoor <fsa@adlas.at>2023-06-13 16:01:34 +0330
committerLouis <6653109+artonge@users.noreply.github.com>2023-06-20 09:30:21 +0200
commitb590059c26bdf80626814212c7db7ae0d758d222 (patch)
tree9c1b5545f05c446ea08675d2c8d455a33c3f5a44
parentc0a5bdea5e8c0ad50cd3237edd167a4d8b679049 (diff)
downloadnextcloud-server-b590059c26bdf80626814212c7db7ae0d758d222.tar.gz
nextcloud-server-b590059c26bdf80626814212c7db7ae0d758d222.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>
-rw-r--r--core/Command/Info/Space.php4
-rw-r--r--core/Command/Integrity/CheckApp.php4
-rw-r--r--core/Command/Integrity/CheckCore.php4
3 files changed, 9 insertions, 3 deletions
diff --git a/core/Command/Info/Space.php b/core/Command/Info/Space.php
index b552cf8b979..dfbfcf848c1 100644
--- a/core/Command/Info/Space.php
+++ b/core/Command/Info/Space.php
@@ -32,7 +32,9 @@ use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
class Space extends Command {
- public function __construct(private FileUtils $fileUtils) {
+ public function __construct(
+ private FileUtils $fileUtils,
+ ) {
parent::__construct();
}
diff --git a/core/Command/Integrity/CheckApp.php b/core/Command/Integrity/CheckApp.php
index e095c6d9c31..fe999fed9fd 100644
--- a/core/Command/Integrity/CheckApp.php
+++ b/core/Command/Integrity/CheckApp.php
@@ -40,7 +40,9 @@ use Symfony\Component\Console\Output\OutputInterface;
* @package OC\Core\Command\Integrity
*/
class CheckApp extends Base {
- public function __construct(private Checker $checker) {
+ public function __construct(
+ private Checker $checker,
+ ) {
parent::__construct();
}
diff --git a/core/Command/Integrity/CheckCore.php b/core/Command/Integrity/CheckCore.php
index c962b80fa3c..0bcb75fa6be 100644
--- a/core/Command/Integrity/CheckCore.php
+++ b/core/Command/Integrity/CheckCore.php
@@ -36,7 +36,9 @@ use Symfony\Component\Console\Output\OutputInterface;
* @package OC\Core\Command\Integrity
*/
class CheckCore extends Base {
- public function __construct(private Checker $checker) {
+ public function __construct(
+ private Checker $checker,
+ ) {
parent::__construct();
}