File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class PhpDocReader
3434 'callable ' ,
3535 'resource ' ,
3636 'mixed ' ,
37+ 'iterable ' ,
3738 );
3839
3940 /**
Original file line number Diff line number Diff line change @@ -64,6 +64,11 @@ class Class1
6464 */
6565 public $ mixed ;
6666
67+ /**
68+ * @var iterable
69+ */
70+ public $ iterable ;
71+
6772 /**
6873 * @param bool $bool
6974 * @param boolean $boolean
@@ -77,6 +82,7 @@ class Class1
7782 * @param callable $callable
7883 * @param resource $resource
7984 * @param mixed $mixed
85+ * @param iterable $iterable
8086 */
8187 public function foo (
8288 $ bool ,
@@ -90,7 +96,8 @@ public function foo(
9096 $ object ,
9197 $ callable ,
9298 $ resource ,
93- $ mixed
99+ $ mixed ,
100+ $ iterable
94101 ) {
95102 }
96103}
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ public function typeProvider()
4747 'callable ' => array ('callable ' ),
4848 'resource ' => array ('resource ' ),
4949 'mixed ' => array ('mixed ' ),
50+ 'iterable ' => array ('iterable ' ),
5051 );
5152 }
5253}
You can’t perform that action at this time.
0 commit comments