Skip to content

Commit a1aab9e

Browse files
committed
typos
1 parent 6d192c2 commit a1aab9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Forms/Form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ protected function attached($obj)
159159

160160
/**
161161
* Returns self.
162-
* @return Form
162+
* @return self
163163
*/
164164
public function getForm($need = TRUE)
165165
{

src/Forms/Rules.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function addRule($validator, $message = NULL, $arg = NULL)
9696
* Adds a validation condition and returns new branch.
9797
* @param mixed condition type
9898
* @param mixed optional condition arguments
99-
* @return Rules new branch
99+
* @return self new branch
100100
*/
101101
public function addCondition($validator, $arg = NULL)
102102
{
@@ -109,7 +109,7 @@ public function addCondition($validator, $arg = NULL)
109109
* @param IControl form control
110110
* @param mixed condition type
111111
* @param mixed optional condition arguments
112-
* @return Rules new branch
112+
* @return self new branch
113113
*/
114114
public function addConditionOn(IControl $control, $validator, $arg = NULL)
115115
{
@@ -128,7 +128,7 @@ public function addConditionOn(IControl $control, $validator, $arg = NULL)
128128

129129
/**
130130
* Adds a else statement.
131-
* @return Rules else branch
131+
* @return self else branch
132132
*/
133133
public function elseCondition()
134134
{

0 commit comments

Comments
 (0)