public function useReturnFieldsFromTypoScript(): QueryBuilder
    {
        $returnFieldsArray = (array)$this->typoScriptConfiguration->getSearchQueryReturnFieldsAsArray(['*', 'score']);
        return $this->useReturnFields(ReturnFields::fromArray($returnFieldsArray));
    }
public function useReturnFieldsFromTypoScript(): QueryBuilder
    {
        $returnFieldsArray = (array)$this->typoScriptConfiguration->getSearchQueryReturnFieldsAsArray(['*', 'score']);
        return $this->useReturnFields(ReturnFields::fromArray($returnFieldsArray));
    }
public function useReturnFieldsFromTypoScript ( ) : QueryBuilder { $ returnFieldsArray = ( array ) $ this -> typoScriptConfiguration -> getSearchQueryReturnFieldsAsArray ( [ '*' , 'score' ] ) ; return $ this -> useReturnFields ( ReturnFields :: fromArray ( $ returnFieldsArray ) ) ; }
Applies the configured return fields from the typoscript configuration.

@return QueryBuilder
Applies the configured return fields from the typoscript configuration .