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

PHPStan: Fix level 0 errors

This commit is contained in:
Jakub Vrana
2025-03-26 12:41:52 +01:00
parent f75f0aacfe
commit 63c258a7f9
10 changed files with 36 additions and 26 deletions

View File

@@ -110,7 +110,7 @@ if (isset($_GET["imap"])) {
}
function expunge() {
return imap_expunge();
return imap_expunge($this->imap);
}
}
@@ -272,7 +272,7 @@ if (isset($_GET["imap"])) {
}
function truncate_tables($tables) {
return connection()->expunge($name);
return connection()->expunge();
}
function connect($credentials) {