Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class ClientTest extends TestCase |
||
13 | { |
||
14 | /** |
||
15 | * @var MockObject|ConfigHelper |
||
16 | */ |
||
17 | protected $configHelper; |
||
18 | |||
19 | /** |
||
20 | * @var Client |
||
21 | */ |
||
22 | protected $client; |
||
23 | |||
24 | protected function setUp() |
||
25 | { |
||
26 | $this->configHelper = $this->createMock(ConfigHelper::class); |
||
27 | $this->client = new Client($this->configHelper); |
||
28 | } |
||
29 | |||
30 | public function testGetCommonClient() |
||
41 | } |
||
42 | } |
||
43 |
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.