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

Code style: Add more checks

This commit is contained in:
Jakub Vrana
2025-03-05 16:32:51 +01:00
parent 873d6d50fd
commit d9df9693e3
4 changed files with 31 additions and 9 deletions

View File

@@ -591,11 +591,11 @@ function ini_bytes($ini) {
$val = ini_get($ini);
switch (strtolower(substr($val, -1))) {
case 'g':
$val = (int)$val * 1024; // no break
$val = (int) $val * 1024; // no break
case 'm':
$val = (int)$val * 1024; // no break
$val = (int) $val * 1024; // no break
case 'k':
$val = (int)$val * 1024;
$val = (int) $val * 1024;
}
return $val;
}