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: I0e80f737f519e8384dfac2dde7b0ebbe158ca9fb
---
M SmoothGalleryClass.php
M SmoothGalleryParser.php
2 files changed, 7 insertions(+), 7 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I0e80f737f519e8384dfac2dde7b0ebbe158ca9fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SmoothGallery
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