Skip to content

Commit 1b5d4a1

Browse files
committed
IHF: array_to_xml has the same attributes key as xml_to_array helper.
1 parent 572e5c4 commit 1b5d4a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,14 +371,14 @@ $array = [
371371
'Good guy' => [
372372
'name' => 'Luke Skywalker',
373373
'weapon' => 'Lightsaber',
374-
'_attributes' => [
374+
'@attributes' => [
375375
'Rating' => '100',
376376
],
377377
],
378378
'Bad guy' => [
379379
'name' => 'Sauron',
380380
'weapon' => 'Evil Eye',
381-
'_attributes' => [
381+
'@attributes' => [
382382
'Rating' => '90',
383383
],
384384
]

0 commit comments

Comments
 (0)