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

PHPStan: Fix level 1 errors

This commit is contained in:
Jakub Vrana
2025-03-26 13:49:11 +01:00
parent 3de9b23156
commit d39cc24c61
15 changed files with 28 additions and 27 deletions

View File

@@ -93,6 +93,7 @@ SET foreign_key_checks = 0;
$table = (DB == "" || in_array($name, (array) $_POST["tables"]));
$data = (DB == "" || in_array($name, (array) $_POST["data"]));
if ($table || $data) {
$tmp_file = null;
if ($ext == "tar") {
$tmp_file = new TmpFile;
ob_start(array($tmp_file, 'write'), 1e5);