From 8537680955fbc045bf8011a2915e18583a91d52f Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Wed, 22 Aug 2018 15:28:20 +0300 Subject: [ci skip] Drop a dead return statement --- system/libraries/Form_validation.php | 1 - 1 file changed, 1 deletion(-) (limited to 'system') 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); -- cgit v1.2.3-24-g4f1b