Ensure DerivativeContext has a $stats property
authorOri Livneh <ori@wikimedia.org>
Thu, 2 Jul 2015 00:38:25 +0000 (17:38 -0700)
committerOri.livneh <ori@wikimedia.org>
Thu, 2 Jul 2015 00:41:09 +0000 (00:41 +0000)
Should have been a part of Ie10db1c15 but wasn't.

Change-Id: I4552390e1476766ae2d0946df3836a8a14182b34

includes/context/DerivativeContext.php

index 00323ca..aaa1fa7 100644 (file)
@@ -67,6 +67,11 @@ class DerivativeContext extends ContextSource {
         */
        private $config;
 
+       /**
+        * @var Stats
+        */
+       private $stats;
+
        /**
         * Constructor
         * @param IContextSource $context Context to inherit from