From 3e0b7fb49e5c14ad0f11f6f8e50153c4d19a7072 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 14 Feb 2022 20:57:30 +0100 Subject: Fix typo in DAV namespace registration See https://github.com/nextcloud/3rdparty/blob/b0afba6d6508a1c85332cf8c61e90ad91b289ebc/sabre/dav/lib/DAV/Xml/Service.php#L43 Signed-off-by: Thomas Citharel --- apps/dav/lib/Connector/Sabre/SharesPlugin.php | 2 +- build/psalm-baseline.xml | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/dav/lib/Connector/Sabre/SharesPlugin.php b/apps/dav/lib/Connector/Sabre/SharesPlugin.php index 503d10aece3..d482aa4b510 100644 --- a/apps/dav/lib/Connector/Sabre/SharesPlugin.php +++ b/apps/dav/lib/Connector/Sabre/SharesPlugin.php @@ -98,7 +98,7 @@ class SharesPlugin extends \Sabre\DAV\ServerPlugin { * @param \Sabre\DAV\Server $server */ public function initialize(\Sabre\DAV\Server $server) { - $server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc'; + $server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc'; $server->xml->elementMap[self::SHARETYPES_PROPERTYNAME] = ShareTypeList::class; $server->protectedProperties[] = self::SHARETYPES_PROPERTYNAME; $server->protectedProperties[] = self::SHAREES_PROPERTYNAME; diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml index cad8e6a1c06..13d46ec08bd 100644 --- a/build/psalm-baseline.xml +++ b/build/psalm-baseline.xml @@ -760,12 +760,6 @@ \Sabre\Uri\split($sabreNode->getPath()) - - $server->xml->namespacesMap - - - $server->xml->namespacesMap - -- cgit v1.2.3