| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class ProductModelDraftApiAdapter implements ProductModelDraftApiAdapterInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var \Akeneo\Pim\ApiClient\AkeneoPimClientInterface |
||
| 17 | */ |
||
| 18 | protected $akeneoPimClient; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var \SprykerEco\Service\AkeneoPim\Dependencies\External\Api\Wrapper\WrapperFactoryInterface |
||
| 22 | */ |
||
| 23 | protected $wrapperFactory; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param \Akeneo\PimEnterprise\ApiClient\AkeneoPimEnterpriseClientInterface $akeneoPimClient |
||
| 27 | * @param \SprykerEco\Service\AkeneoPim\Dependencies\External\Api\Wrapper\WrapperFactoryInterface $wrapperFactory |
||
| 28 | */ |
||
| 29 | public function __construct(AkeneoPimEnterpriseClientInterface $akeneoPimClient, WrapperFactoryInterface $wrapperFactory) |
||
| 30 | { |
||
| 31 | $this->akeneoPimClient = $akeneoPimClient; |
||
| 32 | $this->wrapperFactory = $wrapperFactory; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param string $code |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | public function get($code): array |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
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.