Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
doubaokun committed Mar 22, 2023
1 parent b3388a0 commit 152e3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psr/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function getHeaderLine($name)
return '';
}

return implode(',', $value);
return is_array($value) ? implode(',', $value) : $value;
}

public function withHeader($name, $value)
Expand Down

0 comments on commit 152e3d6

Please sign in to comment.