Skip to content

Commit

Permalink
Moves single constructor parameters to new lines.
Browse files Browse the repository at this point in the history
Based on:
#38764 (comment)

Signed-off-by: Faraz Samapoor <[email protected]>
  • Loading branch information
Faraz Samapoor committed Jun 13, 2023
1 parent 0b7226f commit 79b866b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion core/Command/Encryption/Disable.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
use Symfony\Component\Console\Output\OutputInterface;

class Disable extends Command {
public function __construct(protected IConfig $config) {
public function __construct(
protected IConfig $config,
) {
parent::__construct();
}

Expand Down
4 changes: 3 additions & 1 deletion core/Command/Encryption/ShowKeyStorageRoot.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
use Symfony\Component\Console\Output\OutputInterface;

class ShowKeyStorageRoot extends Command {
public function __construct(protected Util $util) {
public function __construct(
protected Util $util,
) {
parent::__construct();
}

Expand Down
4 changes: 3 additions & 1 deletion core/Command/Encryption/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
use Symfony\Component\Console\Output\OutputInterface;

class Status extends Base {
public function __construct(protected IManager $encryptionManager) {
public function __construct(
protected IManager $encryptionManager,
) {
parent::__construct();
}

Expand Down

0 comments on commit 79b866b

Please sign in to comment.