Addshore has uploaded a new change for review.

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

Change subject: Use public instead of var in classes
......................................................................

Use public instead of var in classes

Change-Id: Ic6d8f1025d43c8844ca32e34a473dbe01851bd8e
---
M VoteClass.php
1 file changed, 4 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VoteNY 
refs/changes/92/154692/1

diff --git a/VoteClass.php b/VoteClass.php
index 430b8b1..2c31fb4 100644
--- a/VoteClass.php
+++ b/VoteClass.php
@@ -7,9 +7,9 @@
  * @ingroup Extensions
  */
 class Vote {
-       var $PageID = 0;
-       var $Userid = 0;
-       var $Username = null;
+       public $PageID = 0;
+       public $Userid = 0;
+       public $Username = null;
 
        /**
         * Constructor
@@ -248,7 +248,7 @@
  */
 class VoteStars extends Vote {
 
-       var $maxRating = 5;
+       public $maxRating = 5;
 
        /**
         * Displays voting stars

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic6d8f1025d43c8844ca32e34a473dbe01851bd8e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VoteNY
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to