Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function testValuesResult() |
||
15 | { |
||
16 | $this->insertDocumentWithNumber(1, 777); |
||
17 | |||
18 | /** @var ResponseInterface $cursor */ |
||
19 | $response = $this->r() |
||
20 | ->table('tabletest') |
||
21 | ->get(1) |
||
22 | ->values() |
||
23 | ->run(); |
||
24 | |||
25 | $this->assertInstanceOf(ResponseInterface::class, $response); |
||
26 | $this->assertCount(4, $response->getData()); |
||
|
|||
27 | $this->assertArraySubset([2 => 777], $response->getData()); |
||
28 | } |
||
30 |
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.