mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
PHPStan: Use int for $limit
This commit is contained in:
@@ -208,7 +208,7 @@ if (isset($_GET["imap"])) {
|
||||
}
|
||||
|
||||
function limit($query, $where, $limit, $offset = 0, $separator = " ") {
|
||||
return " $query$where" . ($limit !== null ? $separator . "LIMIT $limit" . ($offset ? " OFFSET $offset" : "") : "");
|
||||
return " $query$where" . ($limit ? $separator . "LIMIT $limit" . ($offset ? " OFFSET $offset" : "") : "");
|
||||
}
|
||||
|
||||
function idf_escape($idf) {
|
||||
|
Reference in New Issue
Block a user