mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 09:04:02 +02:00
PHPStan: Use int for $limit
This commit is contained in:
@@ -107,7 +107,7 @@ if (isset($_GET["firebird"])) {
|
||||
|
||||
function limit($query, $where, $limit, $offset = 0, $separator = " ") {
|
||||
$return = '';
|
||||
$return .= ($limit !== null ? $separator . "FIRST $limit" . ($offset ? " SKIP $offset" : "") : "");
|
||||
$return .= ($limit ? $separator . "FIRST $limit" . ($offset ? " SKIP $offset" : "") : "");
|
||||
$return .= " $query$where";
|
||||
return $return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user