Merge "deferred: make DeferredUpdates::attemptUpdate() use callback owners for $fname...
[lhc/web/wiklou.git] / includes / Rest / HeaderContainer.php
index 50f4355..a71f6a6 100644 (file)
@@ -10,9 +10,9 @@ namespace MediaWiki\Rest;
  * 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