Change-Id: I30b68862307f2b44e4f5708c06464e0a218c1ed5
* Unlike PSR-7, the container is mutable.
*/
class HeaderContainer {
* Unlike PSR-7, the container is mutable.
*/
class HeaderContainer {
- private $headerLists;
- private $headerLines;
- private $headerNames;
+ private $headerLists = [];
+ private $headerLines = [];
+ private $headerNames = [];
/**
* Erase any existing headers and replace them with the specified
/**
* Erase any existing headers and replace them with the specified
[ 'tesT' => [ 'bar' ] ],
[ 'tesT' => 'bar' ]
],
[ 'tesT' => [ 'bar' ] ],
[ 'tesT' => 'bar' ]
],
+ 'empty' => [ [], [], [] ],