Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function testPublish() |
||
34 | { |
||
35 | /** @var MockObject|CreateUpdateMessage $message */ |
||
36 | $message = $this->createMock(CreateUpdateMessage::class); |
||
37 | |||
38 | $this->publisher->expects($this->once()) |
||
|
|||
39 | ->method('publish') |
||
40 | ->with('activecampaign.contact.create_update', $message); |
||
41 | |||
42 | $this->createUpdatePublisher->publish($message); |
||
43 | } |
||
45 |
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.