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