jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Legoktm: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: Ic6d8f1025d43c8844ca32e34a473dbe01851bd8e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VoteNY
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to