Skip to content

Commit 220ac59

Browse files
committed
used typehint 'iterable'
1 parent d03e960 commit 220ac59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Forms/Container.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Container extends Nette\ComponentModel\Container implements \ArrayAccess
3434

3535
/**
3636
* Fill-in with default values.
37-
* @param array|\Traversable values used to fill the form
37+
* @param iterable values used to fill the form
3838
* @param bool erase other default values?
3939
* @return static
4040
*/
@@ -50,7 +50,7 @@ public function setDefaults($values, $erase = FALSE)
5050

5151
/**
5252
* Fill-in with values.
53-
* @param array|\Traversable values used to fill the form
53+
* @param iterable values used to fill the form
5454
* @param bool erase other controls?
5555
* @return static
5656
* @internal

0 commit comments

Comments
 (0)