| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 50 | 2 | public function delete(array $guests): array |
|
| 51 | { |
||
| 52 | 2 | $options = ['json' => ['guests' => $guests]]; |
|
| 53 | |||
| 54 | /** @var JsonStream $stream */ |
||
| 55 | 2 | $stream = $this->client |
|
| 56 | 2 | ->delete(KintoneApi::generateUrl('guests.json'), $options) |
|
| 57 | 2 | ->getBody(); |
|
| 58 | |||
| 59 | 1 | return $stream->jsonSerialize(); |
|
| 60 | } |
||
| 63 |