Skip to content

Commit

Permalink
Fix cookie() fail when first time set session
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Dec 21, 2021
1 parent 073bff3 commit 27573e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Protocols/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function withHeader($name, $value) {
* @return $this
*/
public function withHeaders($headers) {
$this->_header = \array_merge($this->_header, $headers);
$this->_header = \array_merge_recursive($this->_header, $headers);
return $this;
}

Expand Down

0 comments on commit 27573e9

Please sign in to comment.