Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function testSameSync(int $sync) : void |
||
24 | { |
||
25 | $handler = $this->client->getHandler(); |
||
|
|||
26 | $connection = $handler->getConnection(); |
||
27 | $packer = $handler->getPacker(); |
||
28 | |||
29 | $packet = $packer->pack(new PingRequest(), $sync); |
||
30 | $connection->open(); |
||
31 | $packet = $connection->send($packet); |
||
32 | |||
33 | $response = $packer->unpack($packet); |
||
34 | |||
35 | self::assertSame($sync, $response->getSync()); |
||
36 | } |
||
50 |
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.