| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function testCount() |
||
| 15 | { |
||
| 16 | $this->insertDocumentWithNumber(5, 5); |
||
| 17 | $this->insertDocumentWithNumber(4, 10); |
||
| 18 | $this->insertDocumentWithNumber(3, 15); |
||
| 19 | $this->insertDocumentWithNumber(2, 20); |
||
| 20 | $this->insertDocumentWithNumber(1, 25); |
||
| 21 | |||
| 22 | $res = $this->r() |
||
| 23 | ->table('tabletest') |
||
| 24 | ->count() |
||
| 25 | ->run(); |
||
| 26 | |||
| 27 | $this->assertEquals(5, $res->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.