mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
fmt
This commit is contained in:
parent
3d85afde98
commit
4d51484de3
22 changed files with 103 additions and 72 deletions
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
namespace SearchDAV\XML;
|
||||
|
||||
|
||||
use Sabre\Xml\Writer;
|
||||
use Sabre\Xml\XmlSerializable;
|
||||
|
||||
|
|
@ -47,7 +46,7 @@ class PropDesc implements XmlSerializable {
|
|||
*/
|
||||
public $sortable;
|
||||
|
||||
function xmlSerialize(Writer $writer) {
|
||||
public function xmlSerialize(Writer $writer) {
|
||||
$data = [
|
||||
'{DAV:}dataType' => [$this->dataType => null]
|
||||
];
|
||||
|
|
@ -62,7 +61,7 @@ class PropDesc implements XmlSerializable {
|
|||
}
|
||||
$writer->write(array_map(function ($propName) {
|
||||
return [
|
||||
'name' => '{DAV:}prop',
|
||||
'name' => '{DAV:}prop',
|
||||
'value' => $propName
|
||||
];
|
||||
}, $this->properties));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue