Skip to content

Commit

Permalink
style: apply coding-standard 1.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed Sep 22, 2024
1 parent b3b74cd commit a5ce30c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lib/Controller/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
use OCP\IRequest;

class PageController extends Controller {
public function __construct(string $appName,
public function __construct(
string $appName,
IRequest $request,
private SystemStatistics $systemStatistics,
private IConfig $config,
Expand Down
3 changes: 2 additions & 1 deletion lib/Resources/ThermalZone.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class ThermalZone implements \JsonSerializable {
public function __construct(
private string $zone,
private string $type,
private float $temp) {
private float $temp,
) {
}

public function getZone(): string {
Expand Down
5 changes: 3 additions & 2 deletions lib/Settings/AdminSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ class AdminSettings implements ISettings {
private SessionStatistics $sessionStatistics;
private SystemStatistics $systemStatistics;

public function __construct(Os $os,
public function __construct(
Os $os,
IL10N $l,
IURLGenerator $urlGenerator,
StorageStatistics $storageStatistics,
Expand All @@ -43,7 +44,7 @@ public function __construct(Os $os,
ShareStatistics $shareStatistics,
SessionStatistics $sessionStatistics,
SystemStatistics $systemStatistics,
private IConfig $config
private IConfig $config,
) {
$this->os = $os;
$this->l = $l;
Expand Down

0 comments on commit a5ce30c

Please sign in to comment.