| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 5 | public function match(object|array $item, FilterInterface $filter, array $iterableFilterHandlers): bool |
|
| 25 | { |
||
| 26 | /** @var In $filter */ |
||
| 27 | |||
| 28 | 5 | $itemValue = ArrayHelper::getValue($item, $filter->field); |
|
| 29 | 5 | $argumentValue = $filter->getValues(); |
|
| 30 | |||
| 31 | 5 | return in_array($itemValue, $argumentValue); |
|
| 32 | } |
||
| 34 |