Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/154431

Change subject: Make it obvious the config object belongs to the Vector skin
......................................................................

Make it obvious the config object belongs to the Vector skin

Change-Id: Id4504565feedaa31e170ea21782fed8043511b31
---
M SkinVector.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Vector 
refs/changes/31/154431/1

diff --git a/SkinVector.php b/SkinVector.php
index 6ad919d..8f7056d 100644
--- a/SkinVector.php
+++ b/SkinVector.php
@@ -33,10 +33,10 @@
        /**
         * @var Config
         */
-       private $config;
+       private $vectorConfig;
 
        public function __construct( Config $config ) {
-               $this->config = $config;
+               $this->vectorConfig = $config;
        }
 
        protected static $bodyClasses = array( 'vector-animateLayout' );
@@ -77,7 +77,7 @@
         * Override to pass our Config instance to it
         */
        public function setupTemplate( $classname, $repository = false, 
$cache_dir = false ) {
-               return new $classname( $this->config );
+               return new $classname( $this->vectorConfig );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/154431
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id4504565feedaa31e170ea21782fed8043511b31
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/Vector
Gerrit-Branch: master
Gerrit-Owner: Legoktm <legoktm.wikipe...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to