summaryrefslogtreecommitdiffstats
path: root/lib/Settings
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Settings')
-rw-r--r--lib/Settings/Admin.php8
-rw-r--r--lib/Settings/Section.php12
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/Settings/Admin.php b/lib/Settings/Admin.php
index 888525dd0..737f44cc1 100644
--- a/lib/Settings/Admin.php
+++ b/lib/Settings/Admin.php
@@ -11,12 +11,12 @@ class Admin implements ISettings
{
private $config;
- public function __construct(Config $config)
+ public function __construct(Config $config)
{
$this->config = $config;
}
- public function getForm()
+ public function getForm()
{
$data = [
'autoPurgeMinimumInterval' =>
@@ -31,12 +31,12 @@ class Admin implements ISettings
return new TemplateResponse('news', 'admin', $data, '');
}
- public function getSection()
+ public function getSection()
{
return 'news';
}
- public function getPriority()
+ public function getPriority()
{
return 40;
}
diff --git a/lib/Settings/Section.php b/lib/Settings/Section.php
index e1dc90147..245dec0e7 100644
--- a/lib/Settings/Section.php
+++ b/lib/Settings/Section.php
@@ -11,29 +11,29 @@ class Section implements IIconSection
private $l;
private $url;
- public function __construct(IURLGenerator $url, IL10N $l)
+ public function __construct(IURLGenerator $url, IL10N $l)
{
$this->url = $url;
$this->l = $l;
}
- public function getID()
+ public function getID()
{
return 'news';
}
- public function getName()
+ public function getName()
{
return $this->l->t('News');
}
- public function getPriority()
+ public function getPriority()
{
return 10;
}
- public function getIcon()
+ public function getIcon()
{
return $this->url->imagePath('news', 'app-dark.svg');
}
-} \ No newline at end of file
+}