Skip to content

Commit a26acfb

Browse files
authored
Merge pull request #31182 from nextcloud/backport/31178/stable22
[stable22] Fix typo in DAV namespace registration
2 parents b966eac + 71a62b6 commit a26acfb

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

apps/dav/lib/Connector/Sabre/SharesPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function __construct(
9898
* @param \Sabre\DAV\Server $server
9999
*/
100100
public function initialize(\Sabre\DAV\Server $server) {
101-
$server->xml->namespacesMap[self::NS_OWNCLOUD] = 'oc';
101+
$server->xml->namespaceMap[self::NS_OWNCLOUD] = 'oc';
102102
$server->xml->elementMap[self::SHARETYPES_PROPERTYNAME] = ShareTypeList::class;
103103
$server->protectedProperties[] = self::SHARETYPES_PROPERTYNAME;
104104
$server->protectedProperties[] = self::SHAREES_PROPERTYNAME;

build/psalm-baseline.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -758,12 +758,6 @@
758758
<UndefinedFunction occurrences="1">
759759
<code>\Sabre\Uri\split($sabreNode-&gt;getPath())</code>
760760
</UndefinedFunction>
761-
<UndefinedPropertyAssignment occurrences="1">
762-
<code>$server-&gt;xml-&gt;namespacesMap</code>
763-
</UndefinedPropertyAssignment>
764-
<UndefinedPropertyFetch occurrences="1">
765-
<code>$server-&gt;xml-&gt;namespacesMap</code>
766-
</UndefinedPropertyFetch>
767761
</file>
768762
<file src="apps/dav/lib/Connector/Sabre/TagsPlugin.php">
769763
<NullableReturnStatement occurrences="1">

0 commit comments

Comments
 (0)