diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2019-02-10 10:31:46 +0100 |
---|---|---|
committer | Michael Weimann <mail@michael-weimann.eu> | 2019-02-10 10:31:46 +0100 |
commit | 587a140c8a75e9a3a0a98ccd37675f785d37f5ab (patch) | |
tree | 2d6121cd80407f933b10e9413e159e577c3f223f /lib/private/Settings/Theming | |
parent | 6c5282138979a7d56feeb5d38462761f1102f1d1 (diff) | |
download | nextcloud-server-587a140c8a75e9a3a0a98ccd37675f785d37f5ab.tar.gz nextcloud-server-587a140c8a75e9a3a0a98ccd37675f785d37f5ab.zip |
Code style and comment fixes
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'lib/private/Settings/Theming')
-rw-r--r-- | lib/private/Settings/Theming/ServerInfo.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/Settings/Theming/ServerInfo.php b/lib/private/Settings/Theming/ServerInfo.php index a5cfdd41f52..ecd2fc418fc 100644 --- a/lib/private/Settings/Theming/ServerInfo.php +++ b/lib/private/Settings/Theming/ServerInfo.php @@ -63,7 +63,7 @@ class ServerInfo implements ISettings { /** * @return TemplateResponse */ - public function getForm() { + public function getForm(): TemplateResponse { $parameters = [ 'location' => $this->config->getSystemValue(self::SETTING_LOCATION), 'provider' => $this->config->getSystemValue(self::SETTING_PROVIDER), @@ -80,7 +80,7 @@ class ServerInfo implements ISettings { * * @return array[] An array or arrays with the keys 'id' and 'displayName' */ - private function getAdminListValues() { + private function getAdminListValues(): array { $adminGroup = $this->groupManager->get('admin'); $users = $adminGroup->getUsers(); @@ -103,7 +103,7 @@ class ServerInfo implements ISettings { * * @return string */ - public function getSection() { + public function getSection(): string { return 'theming'; } @@ -114,7 +114,7 @@ class ServerInfo implements ISettings { * the admin section. The forms are arranged in ascending order of the * priority values. It is required to return a value between 0 and 100. */ - public function getPriority() { + public function getPriority(): int { return 10; } |