aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-15 13:41:40 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-09-16 09:08:24 +0000
commit19ebe4dd44382eaa680273bf50b563e68884a620 (patch)
treee05dd7b83c76609a09fa0298713223cc998f9ac1
parentef4b1c38b9b8288fe397e441fc98d4df1952237c (diff)
downloadnextcloud-server-19ebe4dd44382eaa680273bf50b563e68884a620.tar.gz
nextcloud-server-19ebe4dd44382eaa680273bf50b563e68884a620.zip
fix(dav): cast parameters to stringbackport/48030/stable28
Signed-off-by: Anna Larch <anna@nextcloud.com>
-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 98be4e41917..168f17bab8a 100644
--- a/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
+++ b/apps/dav/lib/Provisioning/Apple/AppleProvisioningPlugin.php
@@ -154,7 +154,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,