| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class ClientTest extends TestCase |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var MockObject|ConfigHelper |
||
| 21 | */ |
||
| 22 | protected $configHelper; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var Client |
||
| 26 | */ |
||
| 27 | protected $client; |
||
| 28 | |||
| 29 | protected function setUp() |
||
| 30 | { |
||
| 31 | $this->configHelper = $this->createMock(ConfigHelper::class); |
||
| 32 | $this->client = new Client($this->configHelper); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function testGetCommonClient() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
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.