| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | protected function getHandlerMock() |
||
| 38 | { |
||
| 39 | $handlerMock = $this->getMockBuilder(Handler::class); |
||
| 40 | |||
| 41 | $handlerMock |
||
|
|
|||
| 42 | ->expects($this->any()) |
||
| 43 | ->method('contentHandler') |
||
| 44 | ->willReturn($this->getContentHandlerMock()); |
||
| 45 | |||
| 46 | $handlerMock |
||
| 47 | ->expects($this->any()) |
||
| 48 | ->method('contentLanguageHandler') |
||
| 49 | ->willReturn($this->getContentLanguageHandlerMock()); |
||
| 50 | |||
| 51 | return $handlerMock; |
||
| 52 | } |
||
| 53 | |||
| 55 |
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.