Skip to content

Commit 8537680

Browse files
committed
[ci skip] Drop a dead return statement
1 parent 9909aba commit 8537680

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

system/libraries/Form_validation.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ public function set_rules($field, $label = null, $rules = null, $errors = array(
206206
if ( ! is_string($rules))
207207
{
208208
throw new InvalidArgumentException('Form_validation: set_rules() expect $rules to be string or array; '.gettype($rules).' given');
209-
return $this;
210209
}
211210

212211
$rules = preg_split('/\|(?![^\[]*\])/', $rules);

0 commit comments

Comments
 (0)