src/Schema/Values/FieldValue.php
public function getReturnType(): Type
    {
        if (! isset($this->returnType)) {
            $this->returnType = app(DefinitionNodeConverter::class)->toType(
                $this->field->type
            );
        }

        return $this->returnType;
    }
public function getReturnType(): Type
    {
        if (! isset($this->returnType)) {
            $this->returnType = app(DefinitionNodeConverter::class)->toType(
                $this->field->type
            );
        }

        return $this->returnType;
    }
public function getReturnType ( ) : Type { if ( ! isset ( $ this -> returnType ) ) { $ this -> returnType = app ( DefinitionNodeConverter :: class ) -> toType ( $ this -> field -> type ) ; } return $ this -> returnType ; }
Get an instance of the return type of the field.

@return \GraphQL\Type\Definition\Type
Get an instance of the return type of the field .