Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
33 | public function provideIterables() : array |
||
34 | { |
||
35 | return [ |
||
36 | 'simple iterable' => [new Iterable_(), 'iterable'], |
||
37 | 'iterable of mixed' => [new Iterable_(new Mixed_()), 'iterable'], |
||
38 | 'iterable of single type' => [new Iterable_(new String_()), 'iterable<string>'], |
||
39 | 'iterable of compound type' => [new Iterable_(new Compound([new Integer(), new String_()])), 'iterable<int|string>'], |
||
40 | 'iterable with key type' => [new Iterable_(new String_(), new Integer()), 'iterable<int,string>'], |
||
41 | ]; |
||
42 | } |
||
43 | } |
||
44 |