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