| Total Complexity | 10 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 86.67% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | #[TargetClass(class: MutationFieldInterface::class)] |
||
| 17 | final class MutationFieldListener 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 |
|
| 54 |
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.