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:
nextcloud#38764 (comment)

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
  • Loading branch information
Faraz Samapoor authored and artonge committed Jun 19, 2023
1 parent 619ac7e commit 0e0478f
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
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
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
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 0e0478f

Please sign in to comment.