Merge "search: Add missing documentation to class properties"
This commit is contained in:
commit
1397b8db2c
5 changed files with 8 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ abstract class SearchEngine {
|
|||
|
||||
/** @var bool */
|
||||
protected $showSuggestion = true;
|
||||
/** @var string */
|
||||
private $sort = self::DEFAULT_SORT;
|
||||
|
||||
/** @var array Feature values */
|
||||
|
|
|
|||
|
|
@ -38,6 +38,7 @@ class SearchHighlighter {
|
|||
public const DEFAULT_CONTEXT_LINES = 2;
|
||||
public const DEFAULT_CONTEXT_CHARS = 75;
|
||||
|
||||
/** @var bool */
|
||||
protected $mCleanWikitext = true;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -36,8 +36,10 @@ use Wikimedia\Rdbms\SelectQueryBuilder;
|
|||
* @ingroup Search
|
||||
*/
|
||||
class SearchMySQL extends SearchDatabase {
|
||||
/** @var bool */
|
||||
protected $strictMatching = true;
|
||||
|
||||
/** @var int|null */
|
||||
private static $mMinSearchLength;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ class SearchResultSet extends BaseSearchResultSet {
|
|||
|
||||
use SearchResultSetTrait;
|
||||
|
||||
/** @var bool */
|
||||
protected $containedSyntax = false;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,8 +1,11 @@
|
|||
<?php
|
||||
|
||||
class MockSearchResult extends RevisionSearchResult {
|
||||
/** @var bool */
|
||||
private $isMissingRevision = false;
|
||||
/** @var bool */
|
||||
private $isBrokenTitle = false;
|
||||
/** @var string */
|
||||
private $interwikiPrefix = '';
|
||||
|
||||
public function isMissingRevision() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue