summaryrefslogtreecommitdiffstats
path: root/apps/files_external/templates
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-18 12:22:40 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-10-18 12:28:34 +0200
commit732badf552c91733192e87d6ceb2848b4b75d439 (patch)
tree79003c742613b0794210a2ff17973efd32ba64b3 /apps/files_external/templates
parent94a0b270005ef95ccfbbe486fc7e37ac225e5afb (diff)
downloadnextcloud-server-732badf552c91733192e87d6ceb2848b4b75d439.tar.gz
nextcloud-server-732badf552c91733192e87d6ceb2848b4b75d439.zip
Additional type hinting found by psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/files_external/templates')
-rw-r--r--apps/files_external/templates/settings.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index d8dd91822c5..af7438e28d7 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -1,9 +1,11 @@
<?php
- use \OCA\Files_External\Lib\Backend\Backend;
+use \OCA\Files_External\Lib\Backend\Backend;
use \OCA\Files_External\Lib\Auth\AuthMechanism;
use \OCA\Files_External\Lib\DefinitionParameter;
use \OCA\Files_External\Service\BackendService;
+/** @var array $_ */
+
$canCreateMounts = $_['visibilityType'] === BackendService::VISIBILITY_ADMIN || $_['allowUserMounting'];
$l->t("Enable encryption");