diff options
author | Reedy <reedy@wikimedia.org> | 2020-05-15 22:36:51 +0100 |
---|---|---|
committer | Reedy <reedy@wikimedia.org> | 2020-05-16 00:51:14 +0100 |
commit | b80a9f4f6aa2781bfe68718a75b99593d3487dff (patch) | |
tree | e8d4cfd6ff76ffffa8a923c87537fd64e3e5a2f6 /includes/search/SearchEngine.php | |
parent | aa17c06c09f2408c18260d1c7e75412696d69f35 (diff) | |
download | mediawikicore-b80a9f4f6aa2781bfe68718a75b99593d3487dff.tar.gz mediawikicore-b80a9f4f6aa2781bfe68718a75b99593d3487dff.zip |
Fix even more PSR12.Properties.ConstantVisibility.NotFound
Change-Id: I5e04824d6fa6a4c36ce489850bb0ed7b4ac588f9
Diffstat (limited to 'includes/search/SearchEngine.php')
-rw-r--r-- | includes/search/SearchEngine.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index a5a28c856ad1..e23505f380a5 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -32,7 +32,7 @@ use MediaWiki\MediaWikiServices; * @ingroup Search */ abstract class SearchEngine { - const DEFAULT_SORT = 'relevance'; + public const DEFAULT_SORT = 'relevance'; /** @var string */ public $prefix = ''; @@ -60,16 +60,16 @@ abstract class SearchEngine { protected $features = []; /** Profile type for completionSearch */ - const COMPLETION_PROFILE_TYPE = 'completionSearchProfile'; + public const COMPLETION_PROFILE_TYPE = 'completionSearchProfile'; /** Profile type for query independent ranking features */ - const FT_QUERY_INDEP_PROFILE_TYPE = 'fulltextQueryIndepProfile'; + public const FT_QUERY_INDEP_PROFILE_TYPE = 'fulltextQueryIndepProfile'; /** Integer flag for legalSearchChars: includes all chars allowed in a search query */ - const CHARS_ALL = 1; + protected const CHARS_ALL = 1; /** Integer flag for legalSearchChars: includes all chars allowed in a search term */ - const CHARS_NO_SYNTAX = 2; + protected const CHARS_NO_SYNTAX = 2; /** * Perform a full text search query and return a result set. |