mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 17:51:00 +00:00
Use public instead of var in classes
Change-Id: I6c34c0f15c9759e9e2b04fd6da93e5c577a40ce5
This commit is contained in:
parent
060a1e3f1f
commit
7a749a6e9a
|
@ -5,12 +5,12 @@ class CategoryTreeCategoryPage extends CategoryPage {
|
|||
}
|
||||
|
||||
class CategoryTreeCategoryViewer extends CategoryViewer {
|
||||
var $child_cats;
|
||||
public $child_cats;
|
||||
|
||||
/**
|
||||
* @var CategoryTree
|
||||
*/
|
||||
var $categorytree;
|
||||
public $categorytree;
|
||||
|
||||
/**
|
||||
* @return CategoryTree
|
||||
|
|
|
@ -16,8 +16,8 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||
}
|
||||
|
||||
class CategoryTree {
|
||||
var $mIsAjaxRequest = false;
|
||||
var $mOptions = array();
|
||||
public $mIsAjaxRequest = false;
|
||||
public $mOptions = array();
|
||||
|
||||
/**
|
||||
* @param $options array
|
||||
|
|
|
@ -16,12 +16,12 @@ if ( !defined( 'MEDIAWIKI' ) ) {
|
|||
}
|
||||
|
||||
class CategoryTreePage extends SpecialPage {
|
||||
var $target = '';
|
||||
public $target = '';
|
||||
|
||||
/**
|
||||
* @var CategoryTree
|
||||
*/
|
||||
var $tree = null;
|
||||
public $tree = null;
|
||||
|
||||
function __construct() {
|
||||
parent::__construct( 'CategoryTree', '', true );
|
||||
|
|
Loading…
Reference in a new issue