I have simple line class autorization extends mysql
and it causes Fatal error: Call to a member function close() on a non-object in... On that line is
function __destruct(){
$this->connection->close();
}
Constructor
$mysqli = new mysqli(*****);
$this->connection = $mysqli;
at the moment no other methods ot class mysql are not used