File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -58,11 +58,11 @@ class ArrayChoiceList implements ChoiceListInterface
58
58
*
59
59
* The given choice array must have the same array keys as the value array.
60
60
*
61
- * @param array|\Traversable $choices The selectable choices
62
- * @param callable|null $value The callable for creating the value
63
- * for a choice. If `null` is passed,
64
- * incrementing integers are used as
65
- * values
61
+ * @param iterable $choices The selectable choices
62
+ * @param callable|null $value The callable for creating the value
63
+ * for a choice. If `null` is passed,
64
+ * incrementing integers are used as
65
+ * values
66
66
*/
67
67
public function __construct ($ choices , $ value = null )
68
68
{
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ interface ChoiceListFactoryInterface
31
31
* The callable receives the choice as first and the array key as the second
32
32
* argument.
33
33
*
34
- * @param array|\Traversable $choices The choices
35
- * @param null|callable $value The callable generating the choice
36
- * values
34
+ * @param iterable $choices The choices
35
+ * @param null|callable $value The callable generating the choice
36
+ * values
37
37
*
38
38
* @return ChoiceListInterface The choice list
39
39
*/
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public function getDecoratedFactory()
63
63
/**
64
64
* {@inheritdoc}
65
65
*
66
- * @param array|\Traversable $choices The choices
66
+ * @param iterable $choices The choices
67
67
* @param null|callable|string|PropertyPath $value The callable or path for
68
68
* generating the choice values
69
69
*
You can’t perform that action at this time.
0 commit comments