original_string: public function disconnect() {
      if ($this->connected) {
        if (is_resource($this->link)) {
          pg_close($this->link);
        }
        $this->connected = false;
      }
      return $this->connected;
    }
code: public function disconnect() {
      if ($this->connected) {
        if (is_resource($this->link)) {
          pg_close($this->link);
        }
        $this->connected = false;
      }
      return $this->connected;
    }
code_tokens: public function disconnect ( ) { if ( $ this -> connected ) { if ( is_resource ( $ this -> link ) ) { pg_close ( $ this -> link ) ; } $ this -> connected = false ; } return $ this -> connected ; }
docstring: Disconnect from the PostgreSQL database.
  
  @return bool Whether this instance is connected to a PostgreSQL database
  after the method has run.
docstring_tokens: Disconnect from the PostgreSQL database .