Skip to content

Commit fc7dd01

Browse files
vjikTigrov
andauthored
Update tests/Support/CustomFilter/DigitalHandler.php
Co-authored-by: Sergei Tigrov <rrr-r@ya.ru>
1 parent 298c111 commit fc7dd01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Support/CustomFilter/DigitalHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ public function getFilterClass(): string
1919
public function match(object|array $item, FilterInterface $filter, Context $context): bool
2020
{
2121
/** @var Digital $filter */
22-
return ctype_digit((string) ArrayHelper::getValue($item, $filter->field));
22+
return ctype_digit((string) $context->readValue($item, $filter->field));
2323
}
2424
}

0 commit comments

Comments
 (0)