From a1e3965cc3b0df2e99b18b2f7e9cf8d34e4c6402 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Mon, 15 Jun 2015 18:30:59 +0200 Subject: [PATCH] typos --- src/Forms/Form.php | 2 +- src/Forms/Rules.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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() {