1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 23:27:17 +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

@@ -1050,8 +1050,10 @@ function lzw_decompress($binary) {
}
}
// decompression
/** @var list<?string> */
$dictionary = range("\0", "\xFF");
$return = "";
$word = "";
foreach ($codes as $i => $code) {
$element = $dictionary[$code];
if (!isset($element)) {