Total Complexity | 2 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ProductModelDraftApiAdapter implements ProductModelDraftApiAdapterInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var \Akeneo\Pim\ApiClient\AkeneoPimClientInterface |
||
16 | */ |
||
17 | protected $akeneoPimClient; |
||
18 | |||
19 | /** |
||
20 | * @param \Akeneo\PimEnterprise\ApiClient\AkeneoPimEnterpriseClientInterface $akeneoPimClient |
||
21 | */ |
||
22 | public function __construct(AkeneoPimEnterpriseClientInterface $akeneoPimClient) |
||
23 | { |
||
24 | $this->akeneoPimClient = $akeneoPimClient; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param string $code |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | public function get($code) |
||
37 | } |
||
38 | } |
||
39 |
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.