style: apply php linter

This commit is contained in:
Simon Vieille
2025-03-05 21:55:53 +01:00
parent b03a7f7bad
commit 3058c225e0
12 changed files with 80 additions and 89 deletions
+2 -2
View File
@@ -1,4 +1,5 @@
<?php
/**
* @license GNU AGPL version 3 or any later version
*
@@ -41,8 +42,7 @@ class Admin implements ISettings
protected ThemingDefaults $theming,
protected Color $color,
protected LangRepository $langRepository
) {
}
) {}
/**
* @return TemplateResponse
+2 -5
View File
@@ -1,4 +1,5 @@
<?php
/**
* @license GNU AGPL version 3 or any later version
*
@@ -28,8 +29,7 @@ class AdminSection implements IIconSection
public function __construct(
protected IURLGenerator $url,
protected IL10N $l
) {
}
) {}
public function getID()
{
@@ -46,9 +46,6 @@ class AdminSection implements IIconSection
return 70;
}
/**
* {@inheritdoc}
*/
public function getIcon()
{
return $this->url->imagePath(Application::APP_ID, 'icon.svg');
+2 -2
View File
@@ -1,4 +1,5 @@
<?php
/**
* @license GNU AGPL version 3 or any later version
*
@@ -35,8 +36,7 @@ class Personal implements ISettings
protected ConfigProxy $config,
protected IUserSession $userSession,
protected AppRepository $appRepository
) {
}
) {}
/**
* @return TemplateResponse
+2 -5
View File
@@ -1,4 +1,5 @@
<?php
/**
* @license GNU AGPL version 3 or any later version
*
@@ -30,8 +31,7 @@ class PersonalSection implements IIconSection
protected IURLGenerator $url,
protected IL10N $l,
protected ConfigProxy $configProxy
) {
}
) {}
public function getID()
{
@@ -60,9 +60,6 @@ class PersonalSection implements IIconSection
return 70;
}
/**
* {@inheritdoc}
*/
public function getIcon()
{
return $this->url->imagePath(Application::APP_ID, 'icon.svg');