original_string: public function getAlias() {
          if ($this->getJoins() || $this instanceof SubQuery || in_array($this->getType(), [self::CREATE_INDEX, self::DROP_INDEX])) {
              return $this->_alias;
          }
  
          return null;
      }
code: public function getAlias() {
          if ($this->getJoins() || $this instanceof SubQuery || in_array($this->getType(), [self::CREATE_INDEX, self::DROP_INDEX])) {
              return $this->_alias;
          }
  
          return null;
      }
code_tokens: public function getAlias ( ) { if ( $ this -> getJoins ( ) || $ this instanceof SubQuery || in_array ( $ this -> getType ( ) , [ self :: CREATE_INDEX , self :: DROP_INDEX ] ) ) { return $ this -> _alias ; } return null ; }
docstring: Only return the alias if joins have been set or this is a sub-query.
  
  @return string
docstring_tokens: Only return the alias if joins have been set or this is a sub - query .