From 0dfd12e6be9655f9068cfb0886e3303cf37ec480 Mon Sep 17 00:00:00 2001 From: Elizabeth Danzberger Date: Thu, 7 Nov 2024 11:58:07 -0500 Subject: [PATCH] fix: add return type to `providePresentation` function Signed-off-by: Elizabeth Danzberger --- lib/Service/InitialStateService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/InitialStateService.php b/lib/Service/InitialStateService.php index 5b7b8d55aa..2e09d13515 100644 --- a/lib/Service/InitialStateService.php +++ b/lib/Service/InitialStateService.php @@ -60,7 +60,7 @@ public function provideDocument(Wopi $wopi, array $params): void { $this->provideOptions(); } - public function providePresentation(bool $startPresentation = false) { + public function providePresentation(bool $startPresentation = false): void { $this->initialState->provideInitialState('document', [ 'startPresentation' => $startPresentation, ]);