From b590059c26bdf80626814212c7db7ae0d758d222 Mon Sep 17 00:00:00 2001 From: Faraz Samapoor Date: Tue, 13 Jun 2023 16:01:34 +0330 Subject: [PATCH] Moves single constructor parameters to new lines. Based on: https://github.com/nextcloud/server/pull/38764#discussion_r1227630895 Signed-off-by: Faraz Samapoor --- core/Command/Info/Space.php | 4 +++- core/Command/Integrity/CheckApp.php | 4 +++- core/Command/Integrity/CheckCore.php | 4 +++- 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(); } -- 2.39.5