1 | <?php |
||
18 | class TreeManager |
||
19 | { |
||
20 | /** @var CategoryTreeRepositoryInterface */ |
||
21 | private $categoryTreeRepository; |
||
22 | |||
23 | /** |
||
24 | * TreeManager constructor. |
||
25 | * |
||
26 | * @param CategoryTreeRepositoryInterface $categoryTreeRepository |
||
27 | */ |
||
28 | public function __construct(CategoryTreeRepositoryInterface $categoryTreeRepository) |
||
32 | |||
33 | /** |
||
34 | * @param CategoryInterface $parent |
||
35 | * @param CategoryInterface $newChild |
||
36 | */ |
||
37 | public function assignParent(CategoryInterface $parent, CategoryInterface $newChild) |
||
49 | } |
||
50 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.