src/Db/MySQL/Drivers/MySQLi.php
public function closeConnection(): void
    {
        if ($this->isConnected) {
            @$this->currentLink->close();
            $this->isConnected = false;
            $this->currentLink = null;
            $this->currentDB = null;
            $this->selectedDB = '';
        }
    }
public function closeConnection(): void
    {
        if ($this->isConnected) {
            @$this->currentLink->close();
            $this->isConnected = false;
            $this->currentLink = null;
            $this->currentDB = null;
            $this->selectedDB = '';
        }
    }
public function closeConnection ( ) : void { if ( $ this -> isConnected ) { @ $ this -> currentLink -> close ( ) ; $ this -> isConnected = false ; $ this -> currentLink = null ; $ this -> currentDB = null ; $ this -> selectedDB = '' ; } }
Closes existing database connection.

@return  void
Closes existing database connection .