diff options
author | Mario Klump <mail@marioklump.net> | 2021-03-02 20:26:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 20:26:21 +0300 |
commit | ffd467b82f3be6a7e782498639f40fb0556bc922 (patch) | |
tree | 76201a67d131f96fd20cd06c7cfa7e2dea827ba8 /lib | |
parent | 719621aeb0952b645dea6d13bb0b2bdf6fa68530 (diff) |
Add type hint
Signed-off-by: Mario Klump <mail@marioklump.net>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/WopiController.php | 5 |
1 files changed, 1 insertions, 4 deletions
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(); |