| Conditions | 2 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | 2 | public function handle(): Traversable |
|
| 33 | { |
||
| 34 | 2 | yield from $this->retryYielding(function (Outcome $outcome) { |
|
| 35 | try { |
||
| 36 | 2 | yield from $this->handleByNextPage(); |
|
| 37 | 1 | } catch (Throwable $e) { |
|
| 38 | 1 | $outcome->pullFailedPages(); |
|
| 39 | 1 | $outcome->addFailedPage($this->config->nextPage); |
|
| 40 | 1 | throw $e; |
|
| 41 | } |
||
| 64 |