Merge "search: Add missing documentation to class properties"

This commit is contained in:
jenkins-bot 2024-09-09 13:29:43 +00:00 committed by Gerrit Code Review
commit 1397b8db2c
5 changed files with 8 additions and 0 deletions

View file

@ -62,6 +62,7 @@ abstract class SearchEngine {
/** @var bool */
protected $showSuggestion = true;
/** @var string */
private $sort = self::DEFAULT_SORT;
/** @var array Feature values */

View file

@ -38,6 +38,7 @@ class SearchHighlighter {
public const DEFAULT_CONTEXT_LINES = 2;
public const DEFAULT_CONTEXT_CHARS = 75;
/** @var bool */
protected $mCleanWikitext = true;
/**

View file

@ -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;
/**

View file

@ -30,6 +30,7 @@ class SearchResultSet extends BaseSearchResultSet {
use SearchResultSetTrait;
/** @var bool */
protected $containedSyntax = false;
/**

View file

@ -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() {