/** * @inheritdoc */ public function rules() { return array_merge(parent::rules(), [[['term'], 'required'], [['term'], 'string', 'max' => 255]]); }
/** * @inheritdoc */ public function rules() { return array_merge(parent::rules(), [[['include_lower_bound', 'include_upper_bound'], 'integer'], [['lower_bound', 'upper_bound'], 'string', 'max' => 255]]); }