Addshore has uploaded a new change for review.

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

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

Use public instead of var in classes

Change-Id: I0e80f737f519e8384dfac2dde7b0ebbe158ca9fb
---
M SmoothGalleryClass.php
M SmoothGalleryParser.php
2 files changed, 7 insertions(+), 7 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SmoothGallery 
refs/changes/74/154674/1

diff --git a/SmoothGalleryClass.php b/SmoothGalleryClass.php
index a6e9f54..7177395 100644
--- a/SmoothGalleryClass.php
+++ b/SmoothGalleryClass.php
@@ -2,10 +2,10 @@
 
 class SmoothGallery {
 
-       var $parser;
-       var $set;
-       var $argumentArray, $galleriesArray;
-       var $errors;
+       public $parser;
+       public $set;
+       public $argumentArray, $galleriesArray;
+       public $errors;
 
        function hasErrors() {
                if ( $this->errors == '' ) {
diff --git a/SmoothGalleryParser.php b/SmoothGalleryParser.php
index 6ceb2a3..22715a2 100644
--- a/SmoothGalleryParser.php
+++ b/SmoothGalleryParser.php
@@ -1,9 +1,9 @@
 <?php
 
 class SmoothGalleryParser {
-       var $set;
-       var $argumentArray;
-       var $galleriesArray;
+       public $set;
+       public $argumentArray;
+       public $galleriesArray;
 
        function __construct( $input, $argv, &$parser, $calledAsSet = false ) {
                $this->set = $calledAsSet;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e80f737f519e8384dfac2dde7b0ebbe158ca9fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SmoothGallery
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