File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class PhpDocReader
34
34
'callable ' ,
35
35
'resource ' ,
36
36
'mixed ' ,
37
+ 'iterable ' ,
37
38
);
38
39
39
40
/**
Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ class Class1
64
64
*/
65
65
public $ mixed ;
66
66
67
+ /**
68
+ * @var iterable
69
+ */
70
+ public $ iterable ;
71
+
67
72
/**
68
73
* @param bool $bool
69
74
* @param boolean $boolean
@@ -77,6 +82,7 @@ class Class1
77
82
* @param callable $callable
78
83
* @param resource $resource
79
84
* @param mixed $mixed
85
+ * @param iterable $iterable
80
86
*/
81
87
public function foo (
82
88
$ bool ,
@@ -90,7 +96,8 @@ public function foo(
90
96
$ object ,
91
97
$ callable ,
92
98
$ resource ,
93
- $ mixed
99
+ $ mixed ,
100
+ $ iterable
94
101
) {
95
102
}
96
103
}
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ public function typeProvider()
47
47
'callable ' => array ('callable ' ),
48
48
'resource ' => array ('resource ' ),
49
49
'mixed ' => array ('mixed ' ),
50
+ 'iterable ' => array ('iterable ' ),
50
51
);
51
52
}
52
53
}
You can’t perform that action at this time.
0 commit comments