aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 13:41:40 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-15 18:47:59 +0200
commit9479ac837609deaaf8ab707e42e4c575f2c7238d (patch)
tree8d7b42ce8d824f38ebdbe9e215075606fd44b177 /apps/dav
parent6a6910f7d434a2f0b0a4e8498fe6d6a2e458a489 (diff)
downloadnextcloud-server-9479ac837609deaaf8ab707e42e4c575f2c7238d.tar.gz
nextcloud-server-9479ac837609deaaf8ab707e42e4c575f2c7238d.zip
fix(dav): cast parameters to stringfix/dav-cast-params-to-string
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'apps/dav')
-rw-r--r--apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
index 838c1fbb781..54818a890f3 100644
--- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
+++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
@@ -133,7 +133,7 @@ class AppleProvisioningPlugin extends ServerPlugin {
$filename = $userId . '-' . AppleProvisioningNode::FILENAME;
$xmlSkeleton = $this->getTemplate();
- $body = vsprintf($xmlSkeleton, array_map(function ($v) {
+ $body = vsprintf($xmlSkeleton, array_map(function (string $v) {
return \htmlspecialchars($v, ENT_XML1, 'UTF-8');
}, [
$description,