Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | protected function build(ContainerBuilder $container) |
||
34 | { |
||
35 | $serviceIds = [ |
||
36 | 'pim_catalog.validator.constraint_guesser.chained_attribute', |
||
37 | 'akeneo.pim.enrichment.factory.value', |
||
38 | 'pim_catalog.repository.attribute', |
||
39 | 'pim_catalog.repository.cached_attribute', |
||
40 | 'form.extension', |
||
41 | ]; |
||
42 | $container->addCompilerPass(new PublicServiceCompilerPass($serviceIds)); |
||
43 | $container->addCompilerPass(new EnterpriseFilterStubPass('product_proposal')); |
||
44 | $container->addCompilerPass(new EnterpriseFilterStubPass('published_product')); |
||
45 | } |
||
47 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: