[Pkg-owncloud-commits] [php-sabredav] 03/10: CS
David Prévot
taffit at moszumanska.debian.org
Sat Sep 5 15:24:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to tag 3.0.4
in repository php-sabredav.
commit 132d054b001a99216e6105c63c7593c33bc2d233
Author: Evert Pot <me at evertpot.com>
Date: Tue Aug 11 14:31:38 2015 -0400
CS
---
lib/DAV/Xml/Request/PropPatch.php | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/lib/DAV/Xml/Request/PropPatch.php b/lib/DAV/Xml/Request/PropPatch.php
index 838d98e..1d19130 100644
--- a/lib/DAV/Xml/Request/PropPatch.php
+++ b/lib/DAV/Xml/Request/PropPatch.php
@@ -51,15 +51,15 @@ class PropPatch implements Element {
foreach ($this->properties as $propertyName => $propertyValue) {
- if (is_null($propertyValue)) {
- $writer->startElement("{DAV:}remove");
- $writer->write(['{DAV:}prop' => [$propertyName => $propertyValue]]);
- $writer->endElement();
- } else {
- $writer->startElement("{DAV:}set");
- $writer->write(['{DAV:}prop' => [$propertyName => $propertyValue]]);
- $writer->endElement();
- }
+ if (is_null($propertyValue)) {
+ $writer->startElement("{DAV:}remove");
+ $writer->write(['{DAV:}prop' => [$propertyName => $propertyValue]]);
+ $writer->endElement();
+ } else {
+ $writer->startElement("{DAV:}set");
+ $writer->write(['{DAV:}prop' => [$propertyName => $propertyValue]]);
+ $writer->endElement();
+ }
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git
More information about the Pkg-owncloud-commits
mailing list