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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user