SECURITY: Better controls for logout interface buttons
[lhc/web/wiklou.git] / includes / search / NullIndexField.php
index 852e1d5..22f5998 100644 (file)
@@ -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 [];