| Conditions | 3 |
| Paths | 3 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | public function __construct( iterable $iterable ) { |
||
| 26 | if ( $iterable instanceof Iterator ) { |
||
| 27 | $this->iterator = $iterable; |
||
| 28 | } elseif ( is_array( $iterable ) ) { |
||
| 29 | $this->iterator = new ArrayIterator( $iterable ); |
||
| 30 | } else { |
||
| 31 | $this->iterator = new IteratorIterator( $iterable ); |
||
| 32 | } |
||
| 33 | $this->iterator->rewind(); |
||
| 34 | } |
||
| 35 | |||
| 53 |
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.