Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
38 | public function getPersonalisedProductCollection($personalisedIds) |
||
39 | { |
||
40 | $collection = $this->_productFactory->create()->getCollection() |
||
41 | ->addAttributeToFilter('entity_id', ['in', $personalisedIds]) |
||
42 | ->addAttributeToFilter('visibility', Visibility::VISIBILITY_BOTH) |
||
43 | ->addAttributeToFilter('status', array('eq' => 1)); |
||
44 | return $collection; |
||
45 | } |
||
46 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.