| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 60 | 2 | public function delete($appId, $recordId, $id, $guestSpaceId = null) |
|
| 61 | { |
||
| 62 | $options = ['json' => [ |
||
| 63 | 2 | 'app' => $appId, |
|
| 64 | 2 | 'record' => $recordId, |
|
| 65 | 'comment' => $id |
||
| 66 | 2 | ]]; |
|
| 67 | |||
| 68 | 2 | return $this->client |
|
| 69 | 2 | ->delete(KintoneApi::generateUrl('record/comment.json', $guestSpaceId), $options) |
|
| 70 | 2 | ->json(); |
|
| 71 | } |
||
| 72 | } |