We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | abstract class AbstractDlfValidator extends AbstractValidator |
||
| 33 | { |
||
| 34 | use LoggerAwareTrait; |
||
| 35 | |||
| 36 | protected string $valueClassName; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param $valueClassName string The class name of the value |
||
| 40 | */ |
||
| 41 | public function __construct(string $valueClassName) |
||
| 42 | { |
||
| 43 | parent::__construct(); |
||
| 44 | $this->logger = GeneralUtility::makeInstance(LogManager::class)->getLogger(static::class); |
||
| 45 | $this->valueClassName = $valueClassName; |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param mixed $value The value to validate |
||
| 50 | * |
||
| 51 | * @return Result |
||
| 52 | */ |
||
| 53 | public function validate(mixed $value): Result |
||
| 60 | } |
||
| 61 | } |
||
| 62 |
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.