We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c65410 commit 88e6506Copy full SHA for 88e6506
1 file changed
system/Format/XMLFormatter.php
@@ -66,7 +66,8 @@ public function format($data)
66
// @codeCoverageIgnoreEnd
67
}
68
69
- $output = new \SimpleXMLElement('<?xml version="1.0"?><response></response>');
+ $options = $config->formatterOptions['application/xml'] ?? 0;
70
+ $output = new \SimpleXMLElement('<?xml version="1.0"?><response></response>',$options);
71
72
$this->arrayToXML((array)$data, $output);
73
0 commit comments