Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMario Klump <mail@marioklump.net>2021-03-02 20:26:21 +0300
committerGitHub <noreply@github.com>2021-03-02 20:26:21 +0300
commitffd467b82f3be6a7e782498639f40fb0556bc922 (patch)
tree76201a67d131f96fd20cd06c7cfa7e2dea827ba8 /lib
parent719621aeb0952b645dea6d13bb0b2bdf6fa68530 (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.php5
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();