Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
44 | public function createFilterCollectionFromLocator(ContainerInterface $filterLocator): FilterCollection |
||
45 | { |
||
46 | $filters = []; |
||
47 | |||
48 | foreach ($this->filtersIds as $filterId) { |
||
49 | if ($filterLocator->has($filterId)) { |
||
50 | $filters[$filterId] = $filterLocator->get($filterId); |
||
51 | } |
||
52 | } |
||
53 | |||
54 | return new FilterCollection($filters); |
||
1 ignored issue
–
show
|
|||
55 | } |
||
56 | } |
||
57 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.