diff options
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r-- | lib/Controller/PageController.php | 6 |
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, |