| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 30 | public function handle(LogCommand $command): PromiseInterface |
||
| 31 | { |
||
| 32 | return $this->service->request( |
||
| 33 | new Request( |
||
| 34 | 'GET', |
||
| 35 | 'buildjobs/' . $command->getId() . '/log' |
||
| 36 | ) |
||
| 37 | )->then(function (ResponseInterface $response) { |
||
| 38 | return $response->getBody()->getContents(); |
||
| 39 | }); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |