|
@@ -189,7 +189,7 @@ class Response
|
|
|
* @return $this
|
|
* @return $this
|
|
|
*/
|
|
*/
|
|
|
public function withHeaders($headers) {
|
|
public function withHeaders($headers) {
|
|
|
- $this->_header = \array_merge($this->_header, $headers);
|
|
|
|
|
|
|
+ $this->_header = \array_merge_recursive($this->_header, $headers);
|
|
|
return $this;
|
|
return $this;
|
|
|
}
|
|
}
|
|
|
|
|
|