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: I4b361ec185b4258c7d0f91d392b706c863436a42
---
M CommentClass.php
1 file changed, 17 insertions(+), 17 deletions(-)

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



diff --git a/CommentClass.php b/CommentClass.php
index c413c19..6305625 100644
--- a/CommentClass.php
+++ b/CommentClass.php
@@ -15,67 +15,67 @@
         * @var Integer: page ID (page.page_id) of the page where the <comments 
/>
         *               tag is in
         */
-       var $PageID = 0;
+       public $PageID = 0;
 
        /**
         * @var Integer: total amount of comments by distinct commenters that 
the
         *               current page has
         */
-       var $CommentTotal = 0;
+       public $CommentTotal = 0;
 
        /**
         * @var String: text of the current comment
         */
-       var $CommentText = null;
+       public $CommentText = null;
 
-       var $CommentDate = null; // @todo FIXME/CHECKME: unused, remove this?
+       public $CommentDate = null; // @todo FIXME/CHECKME: unused, remove this?
 
        /**
         * @var Integer: internal ID number (Comments.CommentID DB field) of the
         *               current comment that we're dealing with
         */
-       var $CommentID = 0;
+       public $CommentID = 0;
 
        /**
         * @var Integer: ID of the parent comment, if this is a child comment
         */
-       var $CommentParentID = 0;
+       public $CommentParentID = 0;
 
-       var $CommentVote = 0;
+       public $CommentVote = 0;
 
        /**
         * @var Integer: comment score (SUM() of all votes) of the current page
         */
-       var $CommentScore = 0;
+       public $CommentScore = 0;
 
        /**
         * @var Integer: if this is _not_ 0, then the comments are ordered by 
their
         *               Comment_Score in descending order
         */
-       var $OrderBy = 0;
+       public $OrderBy = 0;
 
        /**
         * @var Integer: maximum amount of comments shown per page before 
pagination
         *               is enabled; also used as the LIMIT for the SQL query
         */
-       var $Limit = 100;
+       public $Limit = 100;
 
-       var $PagerLimit = 9;
-       var $CurrentPagerPage = 0;
-       var $Allow = '';
-       var $Voting = '';
+       public $PagerLimit = 9;
+       public $CurrentPagerPage = 0;
+       public $Allow = '';
+       public $Voting = '';
 
        /**
         * @var Boolean: allow positive (plus) votes?
         */
-       var $AllowPlus = true;
+       public $AllowPlus = true;
 
        /**
         * @var Boolean: allow negative (minus) votes?
         */
-       var $AllowMinus = true;
+       public $AllowMinus = true;
 
-       var $PAGE_QUERY = 'cpage';
+       public $PAGE_QUERY = 'cpage';
 
        /**
         * The following four functions are borrowed

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I4b361ec185b4258c7d0f91d392b706c863436a42
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Comments
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