) );
}
- protected function reallyOpenConnection( array $server, DatabaseDomain $domain ) {
+ protected function reallyOpenConnection( $i, DatabaseDomain $domain, array $lbInfo = [] ) {
return $this->db;
}
+
+ public function __destruct() {
+ // do nothing since the connection was injected
+ }
}
/**