Remove some whitespace
This commit is contained in:
parent
02f8c941f4
commit
d89be72972
|
@ -188,7 +188,6 @@ class OC_API {
|
|||
}
|
||||
|
||||
private static function toXML($array, $writer) {
|
||||
|
||||
foreach($array as $k => $v) {
|
||||
if (substr($k, 0, 1) === '@') {
|
||||
$writer->writeAttribute(substr($k, 1), $v);
|
||||
|
@ -196,7 +195,6 @@ class OC_API {
|
|||
} else if (is_numeric($k)) {
|
||||
$k = 'element';
|
||||
}
|
||||
|
||||
if(is_array($v)) {
|
||||
$writer->startElement($k);
|
||||
self::toXML($v, $writer);
|
||||
|
@ -204,9 +202,7 @@ class OC_API {
|
|||
} else {
|
||||
$writer->writeElement($k, $v);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue