Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function __construct( iterable $iterable ) { |
||
25 | if ( $iterable instanceof Iterator ) { |
||
26 | $this->iterator = $iterable; |
||
27 | } elseif ( is_array( $iterable ) ) { |
||
28 | $this->iterator = new ArrayIterator( $iterable ); |
||
29 | } else { |
||
30 | $this->iterator = new IteratorIterator( $iterable ); |
||
31 | } |
||
32 | $this->iterator->rewind(); |
||
33 | } |
||
34 | |||
52 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.