Conditions | 1 |
Paths | 1 |
Total Lines | 24 |
Code Lines | 14 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testMultipleInserts() |
||
27 | { |
||
28 | $res = $this->r() |
||
29 | ->table('tabletest') |
||
30 | ->insert([ |
||
31 | [ |
||
32 | 'id' => 1, |
||
33 | 'title' => 'Test document', |
||
34 | 'description' => 'My first document.', |
||
35 | ], |
||
36 | [ |
||
37 | 'id' => 2, |
||
38 | 'title' => 'Test document', |
||
39 | 'description' => 'My first document.', |
||
40 | ], |
||
41 | [ |
||
42 | 'id' => 3, |
||
43 | 'title' => 'Test document', |
||
44 | 'description' => 'My first document.', |
||
45 | ] |
||
46 | ]) |
||
47 | ->run(); |
||
48 | |||
49 | $this->assertObStatus(['inserted' => 3], $res->getData()); |
||
|
|||
50 | } |
||
52 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.