mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
PHPStan: Fix level 2 errors
This commit is contained in:
@@ -270,7 +270,7 @@ if (!$columns && support("table")) {
|
||||
$page = $_GET["page"];
|
||||
if ($page == "last") {
|
||||
$found_rows = get_val(count_rows($TABLE, $where, $is_group, $group));
|
||||
$page = floor(max(0, $found_rows - 1) / $limit);
|
||||
$page = floor(max(0, intval($found_rows) - 1) / $limit);
|
||||
}
|
||||
|
||||
$select2 = $select;
|
||||
|
Reference in New Issue
Block a user