@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace Joomla\Form\Tests; |
8 | 8 | |
9 | -use Joomla\Test\TestHelper; |
|
10 | 9 | use Joomla\Form\Field_Spacer; |
11 | 10 | |
12 | 11 | /** |
@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace Joomla\Form\Tests; |
8 | 8 | |
9 | -use Joomla\Test\TestHelper; |
|
10 | 9 | use Joomla\Form\Field_Tel; |
11 | 10 | |
12 | 11 | /** |
@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace Joomla\Form\Tests; |
8 | 8 | |
9 | -use Joomla\Test\TestHelper; |
|
10 | 9 | use Joomla\Form\Field_Textarea; |
11 | 10 | |
12 | 11 | /** |
@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace Joomla\Form\Tests; |
8 | 8 | |
9 | -use Joomla\Test\TestHelper; |
|
10 | 9 | use Joomla\Form\Field_Text; |
11 | 10 | |
12 | 11 | /** |
@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace Joomla\Form\Tests; |
8 | 8 | |
9 | -use Joomla\Test\TestHelper; |
|
10 | 9 | use Joomla\Form\Field_Timezone; |
11 | 10 | |
12 | 11 | /** |
@@ -6,7 +6,6 @@ |
||
6 | 6 | |
7 | 7 | namespace Joomla\Form\Tests; |
8 | 8 | |
9 | -use Joomla\Test\TestHelper; |
|
10 | 9 | use Joomla\Form\Field_Url; |
11 | 10 | |
12 | 11 | /** |
@@ -561,7 +561,7 @@ discard block |
||
561 | 561 | * |
562 | 562 | * @param mixed $value Test |
563 | 563 | * |
564 | - * @return void |
|
564 | + * @return string |
|
565 | 565 | */ |
566 | 566 | public static function filter($value) |
567 | 567 | { |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | * |
575 | 575 | * @param mixed $value Test |
576 | 576 | * |
577 | - * @return void |
|
577 | + * @return string |
|
578 | 578 | */ |
579 | 579 | function jFormDataFilter($value) |
580 | 580 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * Test... |
64 | 64 | * |
65 | 65 | * @param string $element The XML element object representation of the form field. |
66 | - * @param mixed $value The value to filter for the field. |
|
66 | + * @param string $value The value to filter for the field. |
|
67 | 67 | * |
68 | 68 | * @return mixed The filtered value. |
69 | 69 | * |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Test... |
108 | 108 | * |
109 | - * @param mixed $group The optional dot-separated form group path on which to find the fields. |
|
109 | + * @param string|false $group The optional dot-separated form group path on which to find the fields. |
|
110 | 110 | * Null will return all fields. False will return fields not in a group. |
111 | 111 | * @param boolean $nested True to also include fields in nested groups that are inside of the |
112 | 112 | * group for which to find fields. |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | * |
192 | 192 | * @param \SimpleXMLElement $element The XML element object representation of the form field. |
193 | 193 | * @param string $group The optional dot-separated form group path on which to find the field. |
194 | - * @param mixed $value The optional value to use as the default for the field. |
|
194 | + * @param string $value The optional value to use as the default for the field. |
|
195 | 195 | * @param \Joomla\Registry\Registry $input An optional Registry object with the entire data set to validate |
196 | 196 | * against the entire form. |
197 | 197 | * |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use Joomla\Language\Text; |
11 | 11 | use Joomla\Form\Form; |
12 | 12 | use Joomla\Form\FormHelper; |
13 | -use Joomla\Form\Rule; |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * Test class for JForm. |