1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-09 08:06:59 +02:00

Fix type of select_db()

This commit is contained in:
Jakub Vrana
2025-03-31 11:08:37 +02:00
parent 366342985d
commit e6c0c8ab6b
11 changed files with 18 additions and 16 deletions

View File

@@ -33,7 +33,7 @@ if (isset($_GET["oracle"])) {
return "'" . str_replace("'", "''", $string) . "'";
}
function select_db(string $database): bool {
function select_db(string $database) {
$this->_current_db = $database;
return true;
}
@@ -109,7 +109,7 @@ if (isset($_GET["oracle"])) {
return $this->dsn("oci:dbname=//$server;charset=AL32UTF8", $username, $password);
}
function select_db(string $database): bool {
function select_db(string $database) {
$this->_current_db = $database;
return true;
}