Addshore has uploaded a new change for review.
https://gerrit.wikimedia.org/r/154561
Change subject: Use public instead of var in classes
......................................................................
Use public instead of var in classes
Change-Id: I6bc2196d7ef5411300178493deff7d44f9737a96
---
M BlogPage.php
M TagCloudClass.php
2 files changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/BlogPage
refs/changes/61/154561/1
diff --git a/BlogPage.php b/BlogPage.php
index 13ca2a2..0456ee7 100644
--- a/BlogPage.php
+++ b/BlogPage.php
@@ -6,8 +6,8 @@
*/
class BlogPage extends Article {
- var $title = null;
- var $authors = array();
+ public $title = null;
+ public $authors = array();
function __construct( Title $title ) {
parent::__construct( $title );
diff --git a/TagCloudClass.php b/TagCloudClass.php
index 3d37f2b..f530d12 100644
--- a/TagCloudClass.php
+++ b/TagCloudClass.php
@@ -5,10 +5,10 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
2.0 or later
*/
class BlogTagCloud {
- var $tags_min_pts = 8;
- var $tags_max_pts = 32;
- var $tags_highest_count = 0;
- var $tags_size_type = 'pt';
+ public $tags_min_pts = 8;
+ public $tags_max_pts = 32;
+ public $tags_highest_count = 0;
+ public $tags_size_type = 'pt';
public function __construct( $limit = 10 ) {
$this->limit = $limit;
--
To view, visit https://gerrit.wikimedia.org/r/154561
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6bc2196d7ef5411300178493deff7d44f9737a96
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlogPage
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits