| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | protected function insertDocument(int $documentId): ResponseInterface |
||
| 35 | { |
||
| 36 | $res = $this->r() |
||
| 37 | ->table('tabletest') |
||
| 38 | ->insert([ |
||
| 39 | 'id' => $documentId, |
||
| 40 | 'title' => 'Test document ' . $documentId, |
||
| 41 | 'description' => 'A document description.', |
||
| 42 | ]) |
||
| 43 | ->run(); |
||
| 44 | |||
| 45 | return $res; |
||
|
1 ignored issue
–
show
|
|||
| 46 | } |
||
| 48 |