Skip to content

Commit

Permalink
Update XML.php
Browse files Browse the repository at this point in the history
  • Loading branch information
overtrue authored Aug 16, 2023
1 parent d73019e commit 238ef94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Support/XML.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static function toArray(string $xml): array
public static function fromArray(array $data): bool|string
{
if (empty($data)) {
return ''
return '';
}

return Transformer::toXml($data);
Expand Down

0 comments on commit 238ef94

Please sign in to comment.