Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | final class ProductVariantRepository implements ProductVariantRepositoryInterface |
||
21 | { |
||
22 | /** |
||
23 | * @var BaseProductVariantRepositoryInterface|EntityRepository |
||
24 | */ |
||
25 | private $baseProductVariantRepository; |
||
26 | |||
27 | /** |
||
28 | * @param BaseProductVariantRepositoryInterface|EntityRepository $baseProductVariantRepository |
||
29 | */ |
||
30 | public function __construct(BaseProductVariantRepositoryInterface $baseProductVariantRepository) |
||
31 | { |
||
32 | $this->baseProductVariantRepository = $baseProductVariantRepository; |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * {@inheritdoc} |
||
37 | */ |
||
38 | public function findOneByOptionValue(ProductOptionValueInterface $productOptionValue): ProductVariantInterface |
||
52 | } |
||
53 | } |
||
54 |
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.