DerivativeContext::setConfig should take a Config object
authorKunal Mehta <legoktm@gmail.com>
Tue, 27 May 2014 02:36:59 +0000 (19:36 -0700)
committerKunal Mehta <legoktm@gmail.com>
Tue, 27 May 2014 02:36:59 +0000 (19:36 -0700)
Change-Id: Icc16a9c206c57fac2d26547cb874e02ef09c0485
Follows-Up: I13baec0b6d4ea7badf20b9c5f9b40846348838e4

includes/context/DerivativeContext.php

index 32a650f..4a7b466 100644 (file)
@@ -66,7 +66,7 @@ class DerivativeContext extends ContextSource {
        private $skin;
 
        /**
-        * @var SiteConfiguration
+        * @var Config
         */
        private $config;
 
@@ -81,9 +81,9 @@ class DerivativeContext extends ContextSource {
        /**
         * Set the SiteConfiguration object
         *
-        * @param SiteConfiguration $s
+        * @param Config $s
         */
-       public function setConfig( SiteConfiguration $s ) {
+       public function setConfig( Config $s ) {
                $this->config = $s;
        }