1 | <?php |
||
15 | class Products |
||
16 | { |
||
17 | /** |
||
18 | * @var ProductFactory |
||
19 | */ |
||
20 | private $_productFactory; |
||
21 | |||
22 | /** |
||
23 | * Products constructor. |
||
24 | * @param ProductFactory $productFactory |
||
25 | * @param Visibility $productVisibility |
||
26 | */ |
||
27 | public function __construct(ProductFactory $productFactory, Visibility $productVisibility) |
||
31 | |||
32 | /** |
||
33 | * We only want to show visible and enabled products. |
||
34 | * |
||
35 | * @param $personalisedIds |
||
36 | * @return $this |
||
37 | */ |
||
38 | public function getPersonalisedProductCollection($personalisedIds) |
||
46 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.