mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-02 20:45:29 +02:00
[ticket/11050] make all properties protected in all search backends
PHPBB-11050
This commit is contained in:
parent
c5c9bc5ada
commit
a509a8ed2d
@ -56,21 +56,21 @@ class phpbb_search_fulltext_mysql extends phpbb_search_base
|
||||
* Associative array stores the min and max word length to be searched
|
||||
* @var array
|
||||
*/
|
||||
public $word_length = array();
|
||||
protected $word_length = array();
|
||||
|
||||
/**
|
||||
* Contains tidied search query.
|
||||
* Operators are prefixed in search query and common words excluded
|
||||
* @var string
|
||||
*/
|
||||
public $search_query;
|
||||
protected $search_query;
|
||||
|
||||
/**
|
||||
* Contains common words.
|
||||
* Common words are words with length less/more than min/max length
|
||||
* @var array
|
||||
*/
|
||||
public $common_words = array();
|
||||
protected $common_words = array();
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -32,21 +32,21 @@ class phpbb_search_fulltext_native extends phpbb_search_base
|
||||
* Associative array stores the min and max word length to be searched
|
||||
* @var array
|
||||
*/
|
||||
public $word_length = array();
|
||||
protected $word_length = array();
|
||||
|
||||
/**
|
||||
* Contains tidied search query.
|
||||
* Operators are prefixed in search query and common words excluded
|
||||
* @var string
|
||||
*/
|
||||
public $search_query;
|
||||
protected $search_query;
|
||||
|
||||
/**
|
||||
* Contains common words.
|
||||
* Common words are words with length less/more than min/max length
|
||||
* @var array
|
||||
*/
|
||||
public $common_words = array();
|
||||
protected $common_words = array();
|
||||
|
||||
/**
|
||||
* Post ids of posts containing words that are to be included
|
||||
|
@ -82,20 +82,20 @@ class phpbb_search_fulltext_postgres extends phpbb_search_base
|
||||
* Operators are prefixed in search query and common words excluded
|
||||
* @var string
|
||||
*/
|
||||
public $search_query;
|
||||
protected $search_query;
|
||||
|
||||
/**
|
||||
* Contains common words.
|
||||
* Common words are words with length less/more than min/max length
|
||||
* @var array
|
||||
*/
|
||||
public $common_words = array();
|
||||
protected $common_words = array();
|
||||
|
||||
/**
|
||||
* Associative array stores the min and max word length to be searched
|
||||
* @var array
|
||||
*/
|
||||
public $word_length = array();
|
||||
protected $word_length = array();
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -118,7 +118,7 @@ class phpbb_search_fulltext_sphinx
|
||||
* Operators are prefixed in search query and common words excluded
|
||||
* @var string
|
||||
*/
|
||||
public $search_query;
|
||||
protected $search_query;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
Loading…
x
Reference in New Issue
Block a user