X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fsearch%2FNullIndexField.php;h=ff1e8cbf74e89a41c4582236a19a60c9eaecc95f;hp=933e0ad3328e8bc58cdcbe2188e69a3024dba86b;hb=2480aae0c97d822e10b50619e7b48b25c45af073;hpb=a5be382adfdad4678eec18413c6a118cb3284daf diff --git a/includes/search/NullIndexField.php b/includes/search/NullIndexField.php index 933e0ad332..ff1e8cbf74 100644 --- a/includes/search/NullIndexField.php +++ b/includes/search/NullIndexField.php @@ -17,7 +17,7 @@ class NullIndexField implements SearchIndexField { /** * 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 */ @@ -26,7 +26,7 @@ class NullIndexField implements SearchIndexField { /** * Check if flag is set. - * @param $flag + * @param int $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; } + + /** + * @inheritDoc + */ + public function getEngineHints( SearchEngine $engine ) { + return []; + } }