Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 2 | public function getIterator(): Traversable |
|
35 | { |
||
36 | 2 | yield from $this->yieldItemsByCursor(function (ResponseInterface $response) { |
|
37 | /** @phpstan-ignore-next-line */ |
||
38 | 1 | yield from $generator = $this->yieldItemsAndGetKey($response, $this->config->cursorKey); |
|
39 | |||
40 | 1 | return $generator->getReturn(); |
|
41 | 2 | }); |
|
44 |