summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2018-08-22 14:28:20 +0200
committerAndrey Andreev <narf@devilix.net>2018-08-22 14:28:20 +0200
commit8537680955fbc045bf8011a2915e18583a91d52f (patch)
tree26119f00ab2a4931a54d2b55874cdc8d5217d4d1 /system/libraries
parent9909aba2a41060cf230401e05fd7e8b0ab538ae3 (diff)
[ci skip] Drop a dead return statement
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Form_validation.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php
index 35c984b72..24769417d 100644
--- a/system/libraries/Form_validation.php
+++ b/system/libraries/Form_validation.php
@@ -206,7 +206,6 @@ class CI_Form_validation {
if ( ! is_string($rules))
{
throw new InvalidArgumentException('Form_validation: set_rules() expect $rules to be string or array; '.gettype($rules).' given');
- return $this;
}
$rules = preg_split('/\|(?![^\[]*\])/', $rules);