From ffd467b82f3be6a7e782498639f40fb0556bc922 Mon Sep 17 00:00:00 2001 From: Mario Klump Date: Tue, 2 Mar 2021 18:26:21 +0100 Subject: Add type hint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mario Klump Co-authored-by: Julius Härtl --- lib/Controller/WopiController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/Controller/WopiController.php b/lib/Controller/WopiController.php index 5bc37181..1449844e 100644 --- a/lib/Controller/WopiController.php +++ b/lib/Controller/WopiController.php @@ -731,11 +731,8 @@ class WopiController extends Controller { /** * Check if the encryption module uses a master key. - * - * @return bool */ - private function isMasterKeyEnabled() - { + private function isMasterKeyEnabled(): bool { try { $util = \OC::$server->query(\OCA\Encryption\Util::class); return $util->isMasterKeyEnabled(); -- cgit v1.2.3