Browse Source

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>
tags/v28.0.0beta1
Faraz Samapoor 1 year ago
parent
commit
cda0f74e0b

+ 3
- 1
core/Command/App/Disable.php View 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();
}


+ 3
- 1
core/Command/App/ListApps.php View 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();
}


+ 3
- 1
core/Command/Background/Base.php View 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();
}


+ 3
- 1
core/Command/Background/ListCommand.php View 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();
}


+ 3
- 1
core/Command/Broadcast/Test.php View 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();
}


Loading…
Cancel
Save