original_string: public function getFields() {
          $fields = $this->_fields;
  
          if ($this->getJoins() && !$fields && $this->getType() === self::SELECT) {
              return array_keys($this->getRepository()->getSchema()->getColumns());
          }
  
          return $fields;
      }
code: public function getFields() {
          $fields = $this->_fields;
  
          if ($this->getJoins() && !$fields && $this->getType() === self::SELECT) {
              return array_keys($this->getRepository()->getSchema()->getColumns());
          }
  
          return $fields;
      }
code_tokens: public function getFields ( ) { $ fields = $ this -> _fields ; if ( $ this -> getJoins ( ) && ! $ fields && $ this -> getType ( ) === self :: SELECT ) { return array_keys ( $ this -> getRepository ( ) -> getSchema ( ) -> getColumns ( ) ) ; } return $ fields ; }
docstring: Return the list of fields and or values.
  Return all table fields if a join exists and no fields were whitelisted.
  
  @return string[]
docstring_tokens: Return the list of fields and or values . Return all table fields if a join exists and no fields were whitelisted .