X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FNullIndexField.php;h=22f59987c5ec4523710d7ef86d84b028cb18fb88;hb=1e289e5424be2bfe62213dde90bea658b874f7e6;hp=852e1d5a1bf27d2bb39800142e7c6a8f8cddbb71;hpb=43a548a5c3436b5d07091b504bbf5eb80d1ed215;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/NullIndexField.php b/includes/search/NullIndexField.php index 852e1d5a1b..22f59987c5 100644 --- a/includes/search/NullIndexField.php +++ b/includes/search/NullIndexField.php @@ -17,16 +17,17 @@ 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 */ public function setFlag( $flag, $unset = false ) { + return $this; } /** * Check if flag is set. - * @param $flag + * @param int $flag * @return int 0 if unset, !=0 if set */ public function checkFlag( $flag ) { @@ -44,7 +45,7 @@ class NullIndexField implements SearchIndexField { } /** - * {@inheritDoc} + * @inheritDoc */ public function getEngineHints( SearchEngine $engine ) { return [];