dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Linker: Don't use Title::setFragment()
[lhc/web/wiklou.git]
/
includes
/
search
/
NullIndexField.php
diff --git
a/includes/search/NullIndexField.php
b/includes/search/NullIndexField.php
index
933e0ad
..
ff1e8cb
100644
(file)
--- a/
includes/search/NullIndexField.php
+++ b/
includes/search/NullIndexField.php
@@
-17,7
+17,7
@@
class NullIndexField implements SearchIndexField {
/**
* Set global flag for this field.
*
/**
* Set global flag for this field.
*
- * @param int
$flag Bit flag to set/unset
+ * @param int $flag Bit flag to set/unset
* @param bool $unset True if flag should be unset, false by default
* @return $this
*/
* @param bool $unset True if flag should be unset, false by default
* @return $this
*/
@@
-26,7
+26,7
@@
class NullIndexField implements SearchIndexField {
/**
* Check if flag is set.
/**
* Check if flag is set.
- * @param $flag
+ * @param
int
$flag
* @return int 0 if unset, !=0 if set
*/
public function checkFlag( $flag ) {
* @return int 0 if unset, !=0 if set
*/
public function checkFlag( $flag ) {
@@
-42,4
+42,11
@@
class NullIndexField implements SearchIndexField {
public function merge( SearchIndexField $that ) {
return $that;
}
public function merge( SearchIndexField $that ) {
return $that;
}
+
+ /**
+ * @inheritDoc
+ */
+ public function getEngineHints( SearchEngine $engine ) {
+ return [];
+ }
}
}