The expression return $this->type could return the type null which is incompatible with the type-hinted return GraphQL\Contracts\TypeSystem\Type\TypeInterface. Consider adding an additional type-check to rule them out.
Loading history...
24
}
25
26
/**
27
* @internal This is a method for obtaining a type that implements compatibility with an current implementation