diff --git a/lib/Listener/LoadViewerScript.php b/lib/Listener/LoadViewerScript.php index 250d7e7ec..d8842689a 100644 --- a/lib/Listener/LoadViewerScript.php +++ b/lib/Listener/LoadViewerScript.php @@ -35,15 +35,13 @@ use OCP\Util; class LoadViewerScript implements IEventListener { + private IInitialState $initialStateService; + private IPreview $previewManager; - /** @var IInitialState */ - private $initialStateService; - - /** @var IPreview */ - private $previewManager; - - public function __construct(IInitialState $initialStateService, - IPreview $previewManager) { + public function __construct( + IInitialState $initialStateService, + IPreview $previewManager + ) { $this->initialStateService = $initialStateService; $this->previewManager = $previewManager; }