Conditions | 3 |
Paths | 3 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
20 | 143 | return Equals::class; |
|
21 | } |
||
22 | |||
23 | 29 | public function match(object|array $item, FilterInterface $filter, array $iterableFilterHandlers): bool |
|
24 | { |
||
25 | /** @var Equals $filter */ |
||
26 | |||
27 | 29 | $itemValue = ArrayHelper::getValue($item, $filter->getField()); |
|
28 | 29 | $argumentValue = $filter->getValue(); |
|
38 |