Total Complexity | 6 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 92.86% |
Changes | 0 |
1 | <?php |
||
20 | final class InRangeHandler implements RuleHandlerInterface |
||
21 | { |
||
22 | private ?FormatterInterface $formatter; |
||
23 | |||
24 | 31 | public function __construct(?FormatterInterface $formatter = null) |
|
27 | } |
||
28 | |||
29 | 31 | public function validate(mixed $value, object $rule, ?ValidationContext $context = null): Result |
|
52 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.