We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7be352 commit 7b7f3ccCopy full SHA for 7b7f3cc
src/FormElement/BaseFormElement.php
@@ -12,6 +12,7 @@
12
use ipl\Stdlib\Messages;
13
use ipl\Validator\ValidatorChain;
14
use ReflectionProperty;
15
+use Traversable;
16
17
abstract class BaseFormElement extends BaseHtmlElement implements FormElement, ValueCandidates
18
{
@@ -184,7 +185,7 @@ public function getValidators()
184
185
/**
186
* Set the validators
187
*
- * @param iterable $validators
188
+ * @param Traversable<int|string, mixed> $validators
189
190
* @return $this
191
*/
@@ -201,7 +202,7 @@ public function setValidators($validators)
201
202
203
* Add validators
204
205
206
207
208
0 commit comments