diff options
author | Andrew Podner <a.podner@me.com> | 2012-12-17 13:51:15 +0100 |
---|---|---|
committer | Andrew Podner <a.podner@me.com> | 2012-12-17 13:51:15 +0100 |
commit | 4296a65693504736b5e65bee5b163fa08cacb563 (patch) | |
tree | f9359955f5009f2e7ef4928f2f98b938b00eb591 /system/libraries/Form_validation.php | |
parent | 5e872505a06da30c4643b99643b39bd650d45093 (diff) |
update for Issue #2064 (changed docblocks which return $this or only call a method that returns $this to @return CI_DB_class_name)
Diffstat (limited to 'system/libraries/Form_validation.php')
-rw-r--r-- | system/libraries/Form_validation.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 68534251b..32f7da1b1 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php @@ -149,7 +149,7 @@ class CI_Form_validation { * @param mixed $field * @param string $label * @param mixed $rules - * @return object + * @return CI_Form_validation */ public function set_rules($field, $label = '', $rules = '') { @@ -266,7 +266,7 @@ class CI_Form_validation { * * @param array * @param string - * @return object + * @return CI_Form_validation */ public function set_message($lang, $val = '') { @@ -288,7 +288,7 @@ class CI_Form_validation { * * @param string * @param string - * @return object + * @return CI_Form_validation */ public function set_error_delimiters($prefix = '<p>', $suffix = '</p>') { @@ -829,7 +829,7 @@ class CI_Form_validation { { return sprintf($line, $field, $param); } - + return str_replace(array('{field}', '{param}'), array($field, $param), $line); } |