We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
array_to_xml
1 parent 8915310 commit 572e5c4Copy full SHA for 572e5c4
tests/xml/ArrayToXmlTest.php
@@ -39,23 +39,23 @@ public function it_supports_xml_attributes_in_converting()
39
'to' => 'John',
40
'from' => 'Jane',
41
'title' => 'Go to the shop',
42
- '_attributes' => [
+ '@attributes' => [
43
'priority' => 'low',
44
],
45
46
1 => [
47
48
'from' => 'Paul',
49
'title' => 'Finish the report',
50
51
'priority' => 'medium',
52
53
54
2 => [
55
'to' => 'Jane',
56
'from' => 'Jeff',
57
'title' => 'Clean the house',
58
59
'priority' => 'high',
60
61
0 commit comments