X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=includes%2FRest%2FHeaderContainer.php;h=a71f6a6ce1820b1f5ce78343f37b34ce9129e6cf;hb=c873333333940fd8867374b2f886fb3259022b8b;hp=50f4355f2b7b6447004f1c0a884792eed46832fc;hpb=3f0056a252daa4e97396e0eb4b72651f33ce57b3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Rest/HeaderContainer.php b/includes/Rest/HeaderContainer.php index 50f4355f2b..a71f6a6ce1 100644 --- a/includes/Rest/HeaderContainer.php +++ b/includes/Rest/HeaderContainer.php @@ -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