summaryrefslogtreecommitdiffstats
path: root/lib/Controller/PageController.php
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2020-09-29 13:54:17 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2020-09-29 14:56:07 +0200
commit35b53ecd404a74edea3c6866e451c4819bdc9ea8 (patch)
treedac46834d8fa7ec0122243f94604c3d2215b4d22 /lib/Controller/PageController.php
parentd6d169be15913404f99b86c39a03bc71942c9f77 (diff)
OPML export command and fixes
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r--lib/Controller/PageController.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index ffcf2e62d..2b20d4695 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -87,7 +87,7 @@ class PageController extends Controller
* @NoAdminRequired
* @NoCSRFRequired
*/
- public function index()
+ public function index(): TemplateResponse
{
$status = $this->statusService->getStatus();
$response = new TemplateResponse(
@@ -118,7 +118,7 @@ class PageController extends Controller
/**
* @NoAdminRequired
*/
- public function settings()
+ public function settings(): array
{
$settings = [
'showAll',
@@ -173,7 +173,7 @@ class PageController extends Controller
bool $preventReadOnScroll,
bool $oldestFirst,
bool $compactExpand
- ) {
+ ): void {
$settings = [
'showAll' => $showAll,
'compact' => $compact,