diff --git a/src/Forms/Form.php b/src/Forms/Form.php index b90acb4ac..a04c78e79 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -159,7 +159,7 @@ protected function attached($obj) /** * Returns self. - * @return Form + * @return self */ public function getForm($need = TRUE) { diff --git a/src/Forms/Rules.php b/src/Forms/Rules.php index 893f19561..bad7871c8 100644 --- a/src/Forms/Rules.php +++ b/src/Forms/Rules.php @@ -96,7 +96,7 @@ public function addRule($validator, $message = NULL, $arg = NULL) * Adds a validation condition and returns new branch. * @param mixed condition type * @param mixed optional condition arguments - * @return Rules new branch + * @return self new branch */ public function addCondition($validator, $arg = NULL) { @@ -109,7 +109,7 @@ public function addCondition($validator, $arg = NULL) * @param IControl form control * @param mixed condition type * @param mixed optional condition arguments - * @return Rules new branch + * @return self new branch */ public function addConditionOn(IControl $control, $validator, $arg = NULL) { @@ -128,7 +128,7 @@ public function addConditionOn(IControl $control, $validator, $arg = NULL) /** * Adds a else statement. - * @return Rules else branch + * @return self else branch */ public function elseCondition() {