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 committed Jun 13, 2023
1 parent 819d9dc commit 2d3501c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion core/Command/Info/Space.php
Expand Up @@ -32,7 +32,9 @@
use Symfony\Component\Console\Output\OutputInterface;

class Space extends Command {
public function __construct(private FileUtils $fileUtils) {
public function __construct(
private FileUtils $fileUtils,
) {
parent::__construct();
}

Expand Down
4 changes: 3 additions & 1 deletion core/Command/Integrity/CheckApp.php
Expand Up @@ -40,7 +40,9 @@
* @package OC\Core\Command\Integrity
*/
class CheckApp extends Base {
public function __construct(private Checker $checker) {
public function __construct(
private Checker $checker,
) {
parent::__construct();
}

Expand Down
4 changes: 3 additions & 1 deletion core/Command/Integrity/CheckCore.php
Expand Up @@ -36,7 +36,9 @@
* @package OC\Core\Command\Integrity
*/
class CheckCore extends Base {
public function __construct(private Checker $checker) {
public function __construct(
private Checker $checker,
) {
parent::__construct();
}

Expand Down

0 comments on commit 2d3501c

Please sign in to comment.