Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class ProductDraftApiAdapter implements ProductDraftApiAdapterInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var \Akeneo\Pim\ApiClient\AkeneoPimClientInterface |
||
17 | */ |
||
18 | protected $akeneoPimClient; |
||
19 | |||
20 | /** |
||
21 | * @param \Akeneo\PimEnterprise\ApiClient\AkeneoPimEnterpriseClientInterface $akeneoPimClient |
||
22 | */ |
||
23 | public function __construct(AkeneoPimEnterpriseClientInterface $akeneoPimClient) |
||
24 | { |
||
25 | $this->akeneoPimClient = $akeneoPimClient; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param string $code Code of the resource |
||
30 | * |
||
31 | * @throws HttpException If the request failed. |
||
32 | * |
||
33 | * @return array |
||
34 | */ |
||
35 | public function get(string $code): array |
||
40 | } |
||
41 | } |
||
42 |
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.