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 <fsa@adlas.at>
  • Loading branch information
Faraz Samapoor committed Jun 13, 2023
1 parent 1b37c94 commit 989f139
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion core/Command/Maintenance/Mimetype/UpdateJS.php
Expand Up @@ -31,7 +31,9 @@
use Symfony\Component\Console\Output\OutputInterface;

class UpdateJS extends Command {
public function __construct(protected IMimeTypeDetector $mimetypeDetector) {
public function __construct(
protected IMimeTypeDetector $mimetypeDetector,
) {
parent::__construct();
}

Expand Down
4 changes: 3 additions & 1 deletion core/Command/Maintenance/Mode.php
Expand Up @@ -33,7 +33,9 @@
use Symfony\Component\Console\Output\OutputInterface;

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

Expand Down

0 comments on commit 989f139

Please sign in to comment.