Are you sure the usage of $this->resolveType($root... $contextValues, $info) targeting Digia\GraphQL\Schema\Res...Resolver::resolveType() seems to always return null.
This check looks for function or method calls that always return null and whose
return value is used.
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.