]> source.dussan.org Git - nextcloud-server.git/commitdiff
use namespace everywhere
authortobiasKaminsky <tobias@kaminsky.me>
Tue, 6 Aug 2019 08:32:46 +0000 (10:32 +0200)
committertobiasKaminsky <tobias@kaminsky.me>
Tue, 6 Aug 2019 08:32:46 +0000 (10:32 +0200)
no camelCase

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
apps/dav/lib/Connector/Sabre/ShareeList.php

index 642b57b0c7b67c8a8fc5c18b614214e08748fd82..a9e9dfc2803c5ce7671e8710c308bfabc7f60031 100644 (file)
@@ -52,9 +52,9 @@ class ShareeList implements XmlSerializable {
        function xmlSerialize(Writer $writer) {
                foreach ($this->shares as $share) {
                        $writer->startElement('{' . self::NS_NEXTCLOUD . '}sharee');
-                       $writer->writeElement("id", $share->getSharedWith());
-                       $writer->writeElement("displayName", $share->getSharedWithDisplayName());
-                       $writer->writeElement('type', $share->getShareType());
+                       $writer->writeElement('{' . self::NS_NEXTCLOUD . '}id', $share->getSharedWith());
+                       $writer->writeElement('{' . self::NS_NEXTCLOUD . '}display-name', $share->getSharedWithDisplayName());
+                       $writer->writeElement('{' . self::NS_NEXTCLOUD . '}type', $share->getShareType());
                        $writer->endElement();
                }
        }