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: I560a1dbb746a701caf78b99c8580c4354a84da85
---
M SphinxMWSearch.php
1 file changed, 11 insertions(+), 11 deletions(-)

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



diff --git a/SphinxMWSearch.php b/SphinxMWSearch.php
index 35b2ccc..a859cdc 100644
--- a/SphinxMWSearch.php
+++ b/SphinxMWSearch.php
@@ -14,11 +14,11 @@
 
 class SphinxMWSearch extends SearchEngine {
 
-       var $categories = array();
-       var $exc_categories = array();
-       var $db;
-       var $sphinx_client = null;
-       var $prefix_handlers = array(
+       public $categories = array();
+       public $exc_categories = array();
+       public $db;
+       public $sphinx_client = null;
+       public $prefix_handlers = array(
                'intitle' => 'filterByTitle',
                'incategory' => 'filterByCategory',
                'prefix' => 'filterByPrefix',
@@ -315,11 +315,11 @@
 
 class SphinxMWSearchResultSet extends SearchResultSet {
 
-       var $mNdx = 0;
-       var $sphinx_client;
-       var $mSuggestion = '';
-       var $db;
-       var $total_hits = 0;
+       public $mNdx = 0;
+       public $sphinx_client;
+       public $mSuggestion = '';
+       public $db;
+       public $total_hits = 0;
 
        function __construct( $resultSet, $terms, $sphinx_client, $dbr ) {
                global $wgSearchHighlightBoundaries;
@@ -542,7 +542,7 @@
 
 class SphinxMWSearchResult extends SearchResult {
 
-       var $sphinx_client = null;
+       public $sphinx_client = null;
 
        function __construct( $row, $sphinx_client ) {
                $this->sphinx_client = $sphinx_client;

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

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