| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | #[AsService] |
||
| 22 | class MetricsPowerLogger implements MetricsPowerLoggerInterface |
||
| 23 | { |
||
| 24 | public function __construct( |
||
| 25 | private readonly ContextExtractorLocatorInterface $contextExtractorLocator, |
||
| 26 | private readonly LoggerInterface $logger, |
||
| 27 | ) {} |
||
| 28 | |||
| 29 | public function info(object $target): void |
||
| 36 | } |
||
| 37 | |||
| 38 | public function error(object $target, \Throwable $exception): void |
||
| 47 |
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.