X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fsearch%2FNullIndexField.php;h=22f59987c5ec4523710d7ef86d84b028cb18fb88;hb=f0492a17150e915516a7be07fee2a3115df80ce6;hp=32f60bcc67e9a2188530e45dac2fe4be88255b42;hpb=ae50607da55aa320ea11b9494737bc5b09ff60dd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/NullIndexField.php b/includes/search/NullIndexField.php index 32f60bcc67..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 ) {