| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function refresh(): PromiseInterface |
||
| 19 | { |
||
| 20 | return Promise::fromObservable(unwrapObservableFromPromise($this->handleCommand( |
||
| 21 | new AnnotationsCommand($this->jobId()) |
||
| 22 | ))->filter(function (AnnotationInterface $annotation) { |
||
| 23 | return $this->id() === $annotation->id(); |
||
| 24 | })); |
||
| 25 | } |
||
| 26 | } |
||
| 27 |