We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9909aba commit 8537680Copy full SHA for 8537680
1 file changed
system/libraries/Form_validation.php
@@ -206,7 +206,6 @@ public function set_rules($field, $label = null, $rules = null, $errors = array(
206
if ( ! is_string($rules))
207
{
208
throw new InvalidArgumentException('Form_validation: set_rules() expect $rules to be string or array; '.gettype($rules).' given');
209
- return $this;
210
}
211
212
$rules = preg_split('/\|(?![^\[]*\])/', $rules);
0 commit comments