| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 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')); |
||
| 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: