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

PHPStan: Fix level 0 errors

This commit is contained in:
Jakub Vrana
2025-03-26 12:41:52 +01:00
parent f75f0aacfe
commit 63c258a7f9
10 changed files with 36 additions and 26 deletions

View File

@@ -1184,7 +1184,7 @@ if (!defined('Adminer\DRIVER')) {
/** Convert field in select and edit
* @param Field one element from fields()
* @return string
* @return ?string
*/
function convert_field($field) {
if (preg_match("~binary~", $field["type"])) {

View File

@@ -176,9 +176,7 @@ if (isset($_GET["pgsql"])) {
return $return;
}
function warnings() {
return ''; // not implemented in PDO_PgSQL as of PHP 7.2.1
}
// warnings() not implemented in PDO_PgSQL as of PHP 7.2.1
function close() {
}