Total Complexity | 6 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | final class CallbackHandler implements RuleHandlerInterface |
||
15 | { |
||
16 | private ?FormatterInterface $formatter; |
||
17 | |||
18 | 8 | public function __construct(?FormatterInterface $formatter = null) |
|
21 | } |
||
22 | |||
23 | 8 | 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.