Total Complexity | 8 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 91.67% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
16 | #[TargetClass(class: QueryFieldInterface::class)] |
||
17 | final class QueryFieldListener implements TokenizationListenerInterface |
||
18 | { |
||
19 | private array $classes = []; |
||
20 | |||
21 | 5 | public function __construct( |
|
22 | private readonly ContainerInterface $container, |
||
23 | private readonly TypeRegistryInterface $typeRegistry, |
||
24 | private readonly GraphQLConfig $config, |
||
25 | ) { |
||
26 | 5 | } |
|
27 | |||
28 | 4 | public function listen(ReflectionClass $class): void |
|
35 | } |
||
36 | |||
37 | 4 | public function finalize(): void |
|
46 | } |
||
47 | } |
||
49 |
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.