Skip to content

Commit

Permalink
fix分隔符
Browse files Browse the repository at this point in the history
  • Loading branch information
reatang committed Nov 29, 2023
1 parent fcb3107 commit c714ee5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Metadata/GatewayHandle.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ public static function toHeader(Metadata $metadata): array
{
$n = [];
foreach ($metadata->header->toArray() as $h => $v) {
$n[GatewayHandle::MetadataHeaderPrefix . $h] = is_array($v) ? join(';', $v) : $v;
$n[GatewayHandle::MetadataHeaderPrefix . $h] = is_array($v) ? join(',', $v) : $v;
}
foreach ($metadata->trailer->toArray() as $h => $v) {
$n[GatewayHandle::MetadataTrailerPrefix . $h] = is_array($v) ? join(';', $v) : $v;
$n[GatewayHandle::MetadataTrailerPrefix . $h] = is_array($v) ? join(',', $v) : $v;
}

return $n;
Expand Down

0 comments on commit c714ee5

Please sign in to comment.